On 14 August 2007 18:59, m c wrote:
> Hi,
>
> i am trying to set rpath to value '$ORIGIN:$ORIGIN/../lib:.:../lib' in a
> makefile. but $ORIGIN is always getting replaced.
>
> g++ -D__unix -D_REENTRANT -D_PTHREADS -DSTRING_CONVERSION -D_GNU_SOURCE
> -DSTL_STRING_LENGTH_ORIG -DSGI_STL -D__STL -DSYNC_IS_PUBLIC -DNATIVE_64BIT
> -DNDEBUG -w -fPIC -pipe -o obj/release/sample.o -c sample.cpp g++ -o
> ././libSampleSo.so -shared -Wl,-Bsymbolic
> -Wl,-rpath,':/../lib:.:../lib' ./obj/release/sample.o -ldl -lpthread
> -lgcc
>
> i tried all the tricks mentioned in
> http://www.itee.uq.edu.au/~daniel/using_origin/ but nothing worked.
>
> i have attached a zip file which contains the source and the make files.
>
> please help.
>
> Thanks,
> mrc
<Holds hands up against forehead with fingers outstretched in an
i'm-a-stage-psychic kind of fashion, pulls face that indicates deep
concentration>
You forgot to double up the dollar signs?
<goes off to actually take a look at your makefile and see if I guessed
right>
cheers,
DaveK
--
Can't think of a witty .sigline today....
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make