This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Toolchains Build Error ( host i686-ppc-cygwin -> target i386-elf)


Hi,

Before trying eCos on an i386 PC i tried to build the i386-elf toolchain.

And it fails. (surprise!)

Here is the end of the output:

cp xgcc.exe gcc-cross.exe
/i386-elf-build/gcc/gcc/xgcc -B/i386-elf-build/gcc/gcc/
-B/i386-elf-tools/H-i686-pc-cygwin/i386-elf/bin/
-I/e/i386-elf-tools/H-i686-pc-cygwin/i386-elf/include -dumpspecs > tmp-specs
mv tmp-specs specs
touch stmp-headers
echo "void __foo () {}" > dummy.c
/i386-elf-build/gcc/gcc/xgcc -B/i386-elf-build/gcc/gcc/
-B/i386-elf-tools/H-i686-pc-cygwin/i386-elf/bin/
-I/i386-elf-tools/H-i686-pc-cygwin/i386-elf/include -DCROSS_COMPILE -DIN_GCC
-g -O2 -I./include  -c dummy.c
C:\TEMP/ccyF1Zjg.s: Assembler messages:
C:\TEMP/ccyF1Zjg.s:30: Warning: .type pseudo-op used outside of .def/.endef
ignored.
C:\TEMP/ccyF1Zjg.s:30: Error: Rest of line ignored. First ignored character
is `_'.
C:\TEMP/ccyF1Zjg.s:39: Warning: .size pseudo-op used outside of .def/.endef
ignored.
C:\TEMP/ccyF1Zjg.s:39: Error: Rest of line ignored. First ignored character
is `_'.
make[1]: *** [libgcc1.null] Error 1
make[1]: Leaving directory `/e/everyone/fabrice/i386-elf-build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/e/everyone/fabrice/i386-elf-build/gcc'

When I simply try the following commande:  
	xgcc -c dummy.c
It fails with the same assembler error message.

The source tree I used is the same I used to build the toolchains for the
arm-elf target (Which has no problems)

Thanks.

A+
-- 
Fabrice Gautier
fabrice_gautier@sdesigns.com 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]