Hello Rafael, * Rafael Schleetz Benvenuti wrote on Fri, Oct 31, 2008 at 08:18:51PM CET: > Sorry if i am posting this in the wrong mailing list, but i cannot really > track the problem.
You're fine here. > I am trying to build gmp-4.2.2 using a different dynamic loader. > > The gmp package uses a ltmain.sh script to generate the libtool script. > What I need is gmp libs linked against /toolchain/ld-linux-x86-64.so.2 > I started exporting CC="gcc > -Wl,--dynamic-linker,/toolchain/ld-linux-x86-64.so.2" but the libs were > linked against /lib64/ld-linux-x86-64.so.2 > Even exporting > LDFLAGS="-Wl,--dynamic-linker,/toolchain/ld-linux-x86-64.so.2" don't seem to > work. That's weird. This should work, even when used at 'make' run time. Otherwise, setting CC at configure time should work: ./configure CC="gcc -Wl,--dynamic-linker,/toolchain/ld-linux-x86-64.so.2" > I edited the ltmain.sh with no success. > I cannot find LD and LDFLAGS inside Makefile.am, so can libtool receive the > parameters? They are usually inserted by automake, yes. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool
