This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: ld unknown flag -E


On 29/ago/07, at 17:02, Ian Lance Taylor wrote:

Chiara Sandionigi <chiara.sandionigi@gmail.com> writes:

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?

How about not passing the -E option to the linker?


It's hard to know what else to suggest without more information, like
what you are trying to do.

Ian

I'm trying to compile on Mac OS code written for Linux distributions and so I have problem with the passage from ld of GNU Binutils to ld of cctools (I didn't know that Apple's GNU Binutils equivalent is cctools). So now I'm searching the equivalent of the following options for cctools:
-E
--whole-archive
--no-whole-archive



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