autoconf
[Top][All Lists]
Advanced

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

Re: Configuring the linker


From: Diluka Moratuwage
Subject: Re: Configuring the linker
Date: Thu, 10 Jan 2008 12:15:07 +0530
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Hi Ralf,
   Thanks a lot. I could get through the problem. And I highly appreciate
your help for me to get through.

Thanks,
Diluka.


Ralf Wildenhues wrote:
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


_______________________________________________
Autoconf mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/autoconf






reply via email to

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