glibc 2.16.0
Bernhard Walle
bernhard@bwalle.de
Tue Dec 18 09:33:00 GMT 2012
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
More information about the crossgcc
mailing list