Help me in building gcc for target i386 for rtems

latish sudheer latish_sudheer at
Wed Sep 12 20:54:00 UTC 2001

    I am very much new to rtems.I am trying to install it.I am having cygwin1.3.1 on windows Nt. While building gcc i am encountering some problems.

Please help me in solving.       

my work as follows:

1.mkdir /source/rtems". /source/rtems

3. bunzip2 /rtemsarchive/binutils-2.11.tar.bz2

4.tar xvf /rtemsarchive/binutils-2.11.tar binutils-2.11

6.  patch -p1 < /rtemsarchive/binutils-2.11-rtems-20010409.diff

7. find . -name "*.rej" -print
         no "ref" files found.

8.mkdir /build/rtems /build/rtems

10.mkdir binutils binutils

12./source/rtems/binutils-2.11/configure --target=i386-rtems \

13.make all.

14.make info

15.make install
		----->No problems encountered /source/rtems

17.tar xzvf /rtemsarchive/gcc-2.95.2.tar.gz gcc-2.95.2

19.patch -p1 < /rtemsarchive/gcc-2.95.2-rtems-20010221.diff

20. find . -name "*.rej" -print

        ---->     no "ref" files found. /source/rtems

22.tar xzvf /rtemsarchive/newlib-1.9.0.tar.gz newlib-1.9.0

24.patch -p1 < /rtemsarchive/newlib-1.9.0-rtems-20010221.diff

25.find . -name "*.rej" -print
        ----> no "ref" files found.

   PATH=/opt/rtems/i386-rtems/bin:$PATH /source/rtems/gcc-2.95.2
28.ln -s /source/rtems/newlib-1.9.0/newlib newlib

29.I have remove some 3 files as mentioned in the rtems documentation.
	/source/rtems/gcc-2.95.2/gcc/f /build/rtems
31.mkdir gcc gcc
33./source/rtems/gcc-2.95.2/configure --target=i386-rtems \
   --with-gnu-as --with-gnu-ld --with-newlib --verbose \
   --enable-threads --prefix=/opt/rtems
34.make all
	Getting the same earlier. 
35.make -k cross 
        Getting the same kind of errors
36.make -k install.
        Its not getting installed.

consturctionof GDB /source/rtems
38. tar xzvf /rtemsarchive/gdb-5.0.tar.gz gdb-5.0
40. patch -p1 < /rtemsarchive/gdb-5.0-rtems-20010314.diff  
41.find . -name "*.rej" -print
        ----> no "ref" files found. /build/rtems/gdb

43. /source/rtems/gdb-5.0/configure --target=i386-rtems \
44.make all
45.make info
46.make install
with warm regards

Get 250 color business cards for FREE!

More information about the users mailing list