[Coin-discuss] Additional linker options

Yan Xu Yan.Xu at sas.com
Thu Jan 11 09:33:38 EST 2007


Esben, thanks for the answer, but I got error:
....
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for CoinUtils

thanks,
Yan 

-----Original Message-----
From: coin-discuss-bounces at list.coin-or.org [mailto:coin-discuss-bounces at list.coin-or.org] On Behalf Of Esben Mose Hansen
Sent: Tuesday, January 09, 2007 11:16 AM
To: Discussions about open source software for Operations Research
Subject: Re: [Coin-discuss] Additional linker options

On Monday 08 January 2007 19:30, Yan Xu wrote:

> Does anyone know how to add additional linker options when configuring 
> a project? For instance I want to add
>
> -LpathToMyLib -lmyLib Wl,rpath,pathToMyLib


You should be able to add them with 

./configure LDFLAGS="-LpathToMyLib -lmyLib Wl,rpath,pathToMyLib". 

Not that I have tried, personally :)

--
kind regards, Esben
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss




More information about the Coin-discuss mailing list