[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'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 (g...@gnu.org) > > > 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. By the time the driver passes arguments to the linker, it will see, e.g.: /usr/bin/ld ... -rpath-link PATH which is how this is supposed to work. Cheers, -- Gary V. Vaughan (g...@gnu.org)
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool