Xymon Mailing List Archive search

How to set -R option when compiling

2 messages in this thread

list Robert P McGraw · Tue, 5 Feb 2008 15:05:14 -0500 ·
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.

Thanks


Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: user-33cf07af04dd@xymon.invalid
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (XXX) XXX-XXXX
XXX N. University Street                      
West Lafayette, IN XXXXX-XXXX
list Henrik Størner · Tue, 5 Feb 2008 22:14:42 +0100 ·
quoted from Robert P McGraw
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