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
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf




_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to