Help me in building gcc for target i386 for rtems

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


hi, 
    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".

2.cd /source/rtems

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

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

5.cd 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

9.cd /build/rtems

10.mkdir binutils

11.cd binutils

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

13.make all.

14.make info

15.make install
          
		----->
		----->No problems encountered

16.cd /source/rtems

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

18.cd gcc-2.95.2

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

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

        ---->     no "ref" files found.

21.cd /source/rtems

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

23.cd newlib-1.9.0

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

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

26.PATH=/opt/rtems/bin:$PATH
   PATH=/opt/rtems/i386-rtems/bin:$PATH
27.cd /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/libf2c
	/source/rtems/gcc-2.95.2/gcc/objc
	/source/rtems/gcc-2.95.2/gcc/f
30.cd /build/rtems
31.mkdir gcc
32.cd 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 erros.as earlier. 
35.make -k cross 
        Getting the same kind of errors
36.make -k install.
        Its not getting installed.

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

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


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



More information about the users mailing list