binutils 2.9.1

Nick Clifton nickc@redhat.com
Fri Aug 25 12:17:00 GMT 2000


Hi Edward,

: Some of the things I've tried so far:
: 
: - build stock binutils 2.9.1, 2.10, or from CVS
:   This resulted in working as, ld, etc. executables, and very little else.
:   The BSD/OS gcc was passing "as" a "-Qy" option, which caused as to die,
:   and if I worked around that, it specified an emulation of "elf_i386" to
:   "ld" (instead of "i386bsd"). Working around that resulted in:
: 
:       /usr/lib/crt1.o: file not recognized: File format not recognized

Instead you could try playing around with the specs files created and
used by gcc.  These file tell gcc which command line switches it ought
to pass on to the assembler (and linker).  Have a look in
gcc/config/i386/i386.h (or other header files in that directory), and
search for macros ending in _SPEC.

If you are unfamiliar with spec strings, you should be able to find
documentation on them in the file gcc/invoke.texi.

Cheers
	Nick



More information about the Gcc-help mailing list