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

Mark Dean M.Dean at sstl.co.uk
Thu Jan 6 16:42:29 UTC 2005


thanks for that John, I'll give it a go. Looks like you are using later versions of gcc and binutils than I was trying. I was using the versions identified by the 'download helper' so I'll try these new ones at some point next week if I can get the time. I'll let you know how it goes...

   cheers,
      Mark.

-----Original Message-----
From: Mills, John M. [mailto:Mills.J at ems-t.com]
Sent: 06 January 2005 14:59
To: RTEMS Users (E-mail)
Cc: Mark Dean; J. M. Mills (E-mail)
Subject: RTEMS-4.6.2 patches and 'build' scripts (Was: RE: Getting
reacquainted -- Cygwin/powerpc-rtems Build Error)


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