Re: Unrecognized ld flags
Re: Unrecognized ld flags
- Subject: Re: Unrecognized ld flags
- From: Peter O'Gorman <email@hidden>
- Date: Wed, 29 Aug 2007 10:17:47 -0500
On Wed, 2007-08-29 at 16:53 +0200, Chiara Sandionigi wrote:
> Hi!
> I have a problem with cctools, in particular the problem regards the
> options of ld. I'm compiling files created for Linux distributions,
> so I have a problem regarding the passage from GNU binutils to cctools.
> The error is the following:
> [ 2/98] * mkshared : lib/systemc/libsystemc.a -> _build_/default/lib/
> systemc/libsystemc.dylib
> /usr/bin/ld: unknown flag: -E
> collect2: ld returned 1 exit status
> I have the same problem with flags --whole-archive and --no-whole-
> archive.
> Does somebody know which are the equivalent options with cctools?
> Thanks for any help
There are man pages for gcc and ld that you could consult...
However, -E is --export-dynamic, which is not necessary, symbols are
exported by default.
There's no equivalent for --whole-archive and --no-whole-archive (I did
file a bug on it - it was marked as a duplicate). There is an option
-all_load, but it is not very useful as it will cause all members of all
static archives to be loaded. You will probably have to extract all the
objects and use them directly.
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden