This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: ld unknown flag -E
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Chiara Sandionigi'" <chiara dot sandionigi at gmail dot com>, <binutils at sourceware dot org>
- Date: Wed, 29 Aug 2007 15:12:03 +0100
- Subject: RE: ld unknown flag -E
- References: <632D6AF9-39B6-42C5-8D7A-02C12916B166@gmail.com>
On 29 August 2007 14:56, Chiara Sandionigi wrote:
> Hi!
> I'm working on Mac OS X 10.4 and I have the following problem:
> /usr/bin/ld: unknown flag: -E
> collect2: ld returned 1 exit status
> Can somebody help me to solve it?
> Thanks
> Chiara
OSX doesn't use the GNU binutils, it uses Apple's own equivalent called
'cctools'. And the cctools ld doesn't use the -E flag. I don't know what
would be the equivalent, but there's a man page at
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ld.1.h
tml#//apple_ref/doc/man/1/ld
cheers,
DaveK
--
Can't think of a witty .sigline today....