This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils 2.9.1
- To: emarshall at mercantec dot com
- Subject: Re: binutils 2.9.1
- From: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 25 Aug 2000 12:17:14 -0700
- CC: bsdi-users at bsdi dot com, binutils at sources dot redhat dot com, gcc-help at gcc dot gnu dot org, support at bsdi dot com
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