How is [re]located?

Sat Mar 26 17:13:00 GMT 2011

On 22 Mar 2011, Mike Frysinger verbalised:

> On Tue, Mar 22, 2011 at 10:21 AM, Siddhesh Poyarekar wrote:
>> You can specify the dynamic linker you want to load your binary with
>> during the build phase by using the --dynamic-linker ld flag. You can
>> set LDFLAGS as:
>> -Wl,--dynamic-linker=/opt/lib/....
>> or similar during your gcc build.
> yes, but it sounded like that wouldnt work for him as he was dealing
> with only prebuilt legacy packages

You can still generate a specs file and use that. -dumpspecs is an
old, old option. (Indeed compilers as old as GCC 2.96 used external
specs files at all times, so Tom probably just needs to find the specs
file that's already there in the GCC 2.96 tooldir and edit it. It will
almost certainly be using --dynamic-linker already.)

NULL && (void)

More information about the Libc-help mailing list