libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lazy symbol binding failed - on MacOSX 10.7 and 10.8


From: Russ Allbery
Subject: Re: lazy symbol binding failed - on MacOSX 10.7 and 10.8
Date: Mon, 18 Mar 2013 11:55:40 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Satz Klauer <address@hidden> writes:

> This line looks a bit strange to me:

> libtool: link: g++ -g -O2 -Wl,-whole-archive -Wl,-no-whole-archive -o
> .libs/baz baz.o -Wl,-bind_at_load  ../foo/libfoo.a
> ../bar/.libs/libbar.dylib

> g++ looks like some GCC-type compiler, so GNU-specifics should not be
> a problem!?

-Wl says to pass the flag verbatim to the linker.  It's common to use the
system linker even with non-system compilers.

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]