RTEMS-4.6.2 patches and 'build' scripts (Was: RE: Getting reacqua inted -- Cygwin/powerpc-rtems Build Error)

Mills, John M. Mills.J at ems-t.com
Thu Jan 6 14:58:41 UTC 2005


Mark Dean, all -

MD-   Looks to me that you are trying exactly the config we're trying to
use. I've had 
MD- nothing but problems with RTEMS/cygwin. If you get a configuration
working I'd be REALLY 
MD- REALLY interested to know what versions of RTEMS and the tools you used
(and any 
MD- patches).

Status: now builds all PPC targets except 'tests/tmtests/tm27' for mvme2307,
mcp750, mtx603e. No RTEMS execution tests yet.

My Cygwin 'powerpc-rtems' installation used the following sources:

rtems-4.6.2.tar.bz2 (release from RTEMS.com - no CVS updates)

gcc-3.3.5.tar.bz2
gcc-3.3.5-rtems-20041030.diff

binutils-2.15.tar.bz2
binutils-2.15-rtems-20040519.diff

newlib-1.11.0.tar.bz2
newlib-1.11.0-rtems-20031113.diff

I unpacked the sources, applied the patches, and soft-linked
'/usr/src/newlib-1.11.0/newlib' as '/usr/src/gcc-3.3.5/newlib'.

(Note: some lines of the scripts were wrapped by 'Outlook' - cleanup as
needed.)

'binutils' build script:
============================================================================
==========
#!/bin/sh
export SRCDIR=/usr/src/binutils-2.15
export INST_PREFIX=/opt/rtems-4.6
$SRCDIR/configure --target=powerpc-rtems --prefix=$INST_PREFIX
make
make install
============================================================================
==========

'gcc' build script:
============================================================================
==========
#!/bin/sh
export SRCDIR=/usr/src/gcc-3.3.5
export INST_PREFIX=/opt/rtems-4.6
export PATH=$PATH:$INST_PREFIX/bin
$SRCDIR/configure --target=powerpc-rtems --enable-languages=c,c++
--enable-threads=rtems --with-newlib --disable-nls --prefix=$INST_PREFIX
--enable-version-specific-runtime-libs
make
make install
============================================================================
==========

RTEMS-4.6.2 build script:
============================================================================
==========
#!/bin/sh
export SRCDIR=/usr/src/rtems-4.6.2
export INSTDIR=/opt/rtems-4.6
$SRCDIR/configure --target=powerpc-rtems --enable-cxx --enable-tests
--prefix=$INSTDIR
make
make install
============================================================================
==========

Comments, critiques and suggestions are naturally welcome.

Regards.
 - Mills

John M. Mills
Staff Engineer
EMS Technologies
660 Engineering Drive
Norcross, GA 30092
770.263.9200 ext4882



More information about the users mailing list