[hobbit] How to set -R option when compiling

Henrik Stoerner henrik at hswn.dk
Tue Feb 5 22:14:42 CET 2008


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




More information about the Xymon mailing list