Setting name for dynamic linker fails for gcc-4.2.4
Ian Lance Taylor
iant@google.com
Tue Dec 23 15:05:00 GMT 2008
Jitendra Nair <jitendran@gslab.com> writes:
> Here is my CFLGAS
>
> export
> CFLAGS=-Wl,--dynamic-linker,/toolchain/x86_64-unknown-linux-gnu/lib/ld-linux-x86-64.so.2,--rpath,/toolchain/x86_64-unknown-linux-gnu/lib,
> --rpath,/toolchain/x86_64-unknown-linux-gnu/glibc-2.7/lib
> 2) But the dynamic linker path is NOT correctly set for
> gcc-4.2.4. see below the 'ldd' output
I think you need to use BOOT_CFLAGS now, rather than CFLAGS, when
building gcc.
Ian
More information about the Gcc-help
mailing list