autoconf
[Top][All Lists]
Advanced

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

Re: Configuring the linker


From: Ralf Wildenhues
Subject: Re: Configuring the linker
Date: Tue, 8 Jan 2008 20:31:34 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Diluka,

* Diluka Moratuwage wrote on Tue, Jan 08, 2008 at 07:27:40PM CET:
> Hi all,
>    I'm using a gnu cross compiler to compile one of my projects. I'm 
> using ./configure , make and make install in order to build my product. 
> The problem I'm having is that, I want to execute a custom linker. 
> Anybody knows any variable which I should set, in order to call a 
> non-default linker. For example in my case, I need to explicitely set 
> the linker as, arm-none-linux-gnueabi-ld, how can I set it in a variable 
> in configure.ac file ? Any thoughts, highly appreciated.

Libtool ships with a macro AC_PROG_LD that sets $LD.  I'm not sure
though whether that's what you want.  Most likely you just want to
  ./configure --host=arm-none-linux-gnueabi

which causes all tool checks to prefer a tool with a prefix of
  arm-none-linux-gnueabi-

Hope that helps.

Cheers,
Ralf




reply via email to

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