libtool doesn't process LD_FLAGS arguments properly

2010-11-23 Thread Gavrilov, Roman
Greetings, I'm using libtool to build xerces3 & Xquilla both use libtool to build the library. It seems that libtool doesn't process arguments properly especially those that contain space in the arguments for example -Wl,rpath-link{SPACE}PATH. I'm setting environment variable LD_FLAGS to pass

Re: libtool doesn't process LD_FLAGS arguments properly

2010-11-23 Thread Gary V. Vaughan
On 23 Nov 2010, at 18:02, Gavrilov, Roman wrote: I’m using libtool to build xerces3 & Xquilla both use libtool to build the library. > It seems that libtool doesn’t process arguments properly especially those > that contain space in the arguments for example –Wl,rpath-link{SPACE}PATH. Try: li

RE: libtool doesn't process LD_FLAGS arguments properly

2010-11-23 Thread Gavrilov, Roman
Hi Gary, Libtool ... -Wl,-rpath-link -Wl,PATH does work, now libtool passes it to linker as is, but I don't think compiler would understand those arguments as it expects the PATH to follow -Wl,-rpath-link. -- Roman -Original Message- From: Gary V. Vaughan [mailto:g...@vaughan.pe] Sent:

Re: libtool doesn't process LD_FLAGS arguments properly

2010-11-23 Thread Gary V. Vaughan
[Please don't top post on technical lists] Hi Roman, On 23 Nov 2010, at 19:13, Gavrilov, Roman wrote: > -Original Message- > From: Gary V. Vaughan [mailto:g...@vaughan.pe] > Sent: Tuesday, November 23, 2010 1:18 PM > To: Gavrilov, Roman > Cc: libtool@gnu.org > Subject: Re: libtool doesn'

Problem with --as-needed flag

2010-11-23 Thread Sergio Belkin
There is a issue with --as-needed that it's ignored when using with automake: You can take a look the Makefile.am on: http://pastebin.com/jn4kiqTd noinst_PROGRAMS are linking against "all libraries mentioned on the command line" and not only "against libraries that satisfy some symbol referen

Re: Problem with --as-needed flag

2010-11-23 Thread Mike Frysinger
On Tuesday, November 23, 2010 08:04:45 Sergio Belkin wrote: > You can take a look the Makefile.am on: > > http://pastebin.com/jn4kiqTd please do not use pastebin type sites with mailing lists. post all your info into the e-mail itself. -mike signature.asc Description: This is a digitally sign

Re: Problem with --as-needed flag

2010-11-23 Thread Sergio Belkin
2010/11/23 Mike Frysinger > On Tuesday, November 23, 2010 08:04:45 Sergio Belkin wrote: >> You can take a look the Makefile.am on: >> >> http://pastebin.com/jn4kiqTd > > please do not use pastebin type sites with mailing lists.  post all your info > into the e-mail itself. > -mike > Mike, sorry, I

Re: Problem with --as-needed flag

2010-11-23 Thread Dan Nicholson
On Tue, Nov 23, 2010 at 4:33 PM, Sergio Belkin wrote: > 2010/11/23 Mike Frysinger > On Tuesday, November > 23, 2010 08:04:45 Sergio Belkin wrote: >>> You can take a look the Makefile.am on: >>> >>> http://pastebin.com/jn4kiqTd >> >> please do not use pastebin type sites with mailing lists.  post a