Xymon Mailing List Archive search

How to set -R option when compiling

list Henrik Størner
Tue, 5 Feb 2008 22:14:42 +0100
Message-Id: <user-0c7024251860@xymon.invalid>

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