[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] How to set -R option when compiling
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] How to set -R option when compiling
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Tue, 5 Feb 2008 22:14:42 +0100
- References: <BFE8BDBA75FE9949B836E36C3FBF334FAF099A (at) EXCH02.purdue.lcl>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On Tue, Feb 05, 2008 at 03:05:14PM -0500, McGraw, Robert P wrote:
> I have been playing with RPATH to try and force the use the -R in the load
> and it does not seem to work for me.
>
> Can someone help me out? How and what do I need to do to set and where get
> this to take affect?
>
> Sorry if this is a trivial question but I just do not see the answer.
Depends on the platform, compiler and linker you're using.
Just a few days ago I updated the platform Makefile's for Hobbit - there
was an error in the Linux and *BSD Makefile's using gcc: The option to
set the run-time library path was wrong. Now it is
RPATH = -Wl,--rpath,
(in build/Makefile.*) - before there was a "=" instead of a "," at the
end.
Regards,
Henrik