make rtems problem

许加波 xujiabo at newbeiyang.com
Wed Oct 15 06:29:08 UTC 2008


Hi,Ralf Corsepius
Thanks a lot for you reply !

I make source of gcc 4.3.2 for C/C++ with newlib 1.16.0 and binutils 2.18 ,then i install them , my chain is as follow:

[root at localhost bin]# ls
i386-rtems-addr2line  i386-rtems-gcc-4.3.2  i386-rtems-objcopy
i386-rtems-ar         i386-rtems-gccbug     i386-rtems-objdump
i386-rtems-as         i386-rtems-gcov       i386-rtems-ranlib
i386-rtems-c++        i386-rtems-gdb        i386-rtems-readelf
i386-rtems-c++filt    i386-rtems-gdbtui     i386-rtems-size
i386-rtems-cpp        i386-rtems-gprof      i386-rtems-strings
i386-rtems-g++        i386-rtems-ld         i386-rtems-strip
i386-rtems-gcc        i386-rtems-nm

so gcc  version is 4.3.2 (GCC) adn GNU ld (GNU Binutils) 2.18.
by the way, which version is the official rtems4.9 toolchain?
thanks again.

>On Wed, 2008-10-15 at 09:44 +0800, 许加波 wrote:
>> Hi all!
>> 
>> when I make rtems 4.9.0(release) on the Fedora 4 system,
>Current version of Fedora is Fedora 9.
>
>Fedora 4 is outdated, discontinued, dead for quite some time. I would
>strongly recommend you to upgrade.
>
>>  I use the tools as follow:
>> 
>> autoconf 2.62 
>> automake 1.10.1 
>> binutils 2.18 
>> gcc 4.3.2 for C/C++ with newlib 1.16.0 
>> gdb 6.8 
>Which versions of the rtems chain do you have installed?
>
>> I met a problem as follow:
>> 
>>  i386-rtems-gcc
>This is not an official rtems4.9 toolchain.
>
>>  --pipe -B../../../../../.././lib/ -B../../../../../.././pc686/lib/ -specs bsp_specs -qrtems -isystem 
>> 
>> ../../../../../.././pc686/lib/include  -DASM -mtune=pentiumpro -O2 -g -o start.o -c ../../../../../../../../rtems-
>> 
>> 4.9.0/c/src/lib/libbsp/i386/pc386/start/start.S
>> i386-rtems-gcc --pipe -B../../../../../.././lib/ -B../../../../../.././pc686/lib/ -specs bsp_specs -qrtems -isystem 
>> 
>> ../../../../../.././pc686/lib/include  -DASM -mtune=pentiumpro -O2 -g -isystem ../../../../../.././pc686/lib/include -
>> 
>> DHEADERADDR=0x00097E00 -o start16.o -c ../../../../../../../../rtems-4.9.0/c/src/lib/libbsp/i386/pc386/start/start16.S
>> i386-rtems-ld -N -T ../../../../../../../../rtems-4.9.0/c/src/lib/libbsp/i386/pc386/startup/linkcmds -Ttext 0x00097C00 -e start16 
>> 
>> -nostdlib \
>>   --oformat=elf32-i386 \
>> -o start16-elf32.o start16.o
>> i386-rtems-ld:../../../../../../../../rtems-4.9.0/c/src/lib/libbsp/i386/pc386/startup/linkcmds:100: syntax error
>> gmake[7]: *** [start16-elf32.o] error 1
>> gmake[7]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp/i386/pc386'
>> gmake[6]: *** [all-recursive] error 1
>> gmake[6]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp/i386/pc386'
>> gmake[5]: *** [all-recursive] error 1
>> gmake[5]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp/i386'
>> gmake[4]: *** [all-recursive] error 1
>> gmake[4]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib/libbsp'
>> gmake[3]: *** [all-recursive] error 1
>> gmake[3]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686/lib'
>> gmake[2]: *** [all-recursive] error 1
>> gmake[2]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c/pc686'
>> gmake[1]: *** [all-recursive] error 1
>> gmake[1]: Leaving directory `/usr/rtems/rtems-build/i386-rtems/c'
>> gmake: *** [all-recursive] error 1
>> [root at localhost rtems-build]#
>> 
>> It look up as a link error ,but I don't know how to figure out the problem and solve it, please help me, any answer will be appreciated.
>You likely are using an incompatible version of binutils.
>
>Ralf

= = = = = = = = = = = = = = = = = = = =




More information about the users mailing list