[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: libtool doesn't process LD_FLAGS arguments properly
From: |
Gavrilov, Roman |
Subject: |
RE: libtool doesn't process LD_FLAGS arguments properly |
Date: |
Tue, 23 Nov 2010 12:13:44 -0000 |
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:address@hidden
Sent: Tuesday, November 23, 2010 1:18 PM
To: Gavrilov, Roman
Cc: address@hidden
Subject: Re: libtool doesn't process LD_FLAGS arguments properly
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:
libtool ... -Wl,-rpath-link -Wl,PATH
or:
libtool ... -Xlinker -rpath-link -Xlinker PATH
If PATH also has spaces in it, libtool will probably get confused (shell
scripts are extremely difficult to get right with embedded spaces). You
can work around that by creating a soft-link to a new path with no
spaces in it, and then pass *that* path in to libtool.
Cheers,
--
Gary V. Vaughan (address@hidden)