This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: binutils 2.9.1


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


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