Cygwin Hosted Linux (x86) targetted cross compiler problem

Ian Lance Taylor ian@airs.com
Wed Apr 2 17:15:00 GMT 2003


"babu" <babu@altosys.co.in> writes:

> We have crossed the previous stage and started cross-compiling glibc-2.2.5
> under cygwin(for linux).

I think issues with this would be better discussed on the glibc
mailing lists or the cygwin mailing lists.

> gcc ../sysdeps/i386/fpu/s_frexp.S -c -D__NO_MATH_INLINES -

This looks like you are compiling a file for the target system with
the build system compiler, an assumption which is supported by the
error messages.  It fails because the file contains assembler
statements; they should be assembled by an ELF assembler, but instead
are being assembled by the build system COFF/PE assembler which does
not recognize them.

This is in no way a binutils bug.  I would guess that the problem is
in the glibc build system, and that there is some bug related to
building with a cross-compiler.

Ian



More information about the Binutils mailing list