[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help using libtool with another dynamic linker [newbie]

From: Ralf Wildenhues
Subject: Re: Help using libtool with another dynamic linker [newbie]
Date: Sun, 2 Nov 2008 22:17:54 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

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 script to generate the libtool script.
> What I need is gmp libs linked against /toolchain/
> I started exporting CC="gcc
> -Wl,--dynamic-linker,/toolchain/" but the libs were
> linked against /lib64/
> Even exporting
> LDFLAGS="-Wl,--dynamic-linker,/toolchain/" 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/"

> I edited the with no success.
> I cannot find LD and LDFLAGS inside, so can libtool receive the
> parameters?

They are usually inserted by automake, yes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]