This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


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: glibc 2.16.0


Hi,

* çãç <ShiroiKuma@ShiroiKuma.org> [2012-12-18 10:13]:
> On Tue, Dec 18, 2012 at 12:10 AM, Bernhard Walle <bernhard@bwalle.de> wrote:
> > You can change the interpreter when compiling with
> >
> >     gcc ... -Wl,-dynamic-linker,/my/lib/ld-linux.so.2 ...
> 
> More systematically, should I set the '-Wl...' in CFLAGS or LDFLAGS?

LDFLAGS because it's a linker flag. The -Wl means that this option is
passed to the linker, i.e. ld is called as as

    ld ... -dynamic-linker /my/lib/ld-linux.so.2 ...


Regards,
Bernhard

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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