On 1 February 2010 19:41, Georg S. Weber <[email protected]> wrote:
> Hi,
>
> does anyone know whether the "rpath" feature of linking/loading is
> available on Solaris?
>
> (I'm just curious. Currently, Sage resp. its "relocation feature" does
> not use "rpath" based linking/loading, but instead relies on
> LD_LIBRARY_PATH and friends.)
>
>
> Cheers,
> Georg


$ cc -flags

shows as options for the Sun compiler:


-R<dir[:dir]>                 Build runtime search path list into executable

Actually building a gcc which will search at a specified place seems
next to impossible on Solaris. The GCC developers will not add an
option which allows the location of the libraries to be hard-coded. It
is not a problem if you install in /usr/local,  That's a pain if you
don't have root access, or want to keep sepparate copies of gcc
around.

I will add the sparcv9 directory to LD_LIBRARY_PATH on 't2'. I will
not however do it when people are using the compiler, as things could
go wrong for them. At the minute, there is no work on a SPARC 64-bit
port, though that will happen soon I think.

Dave

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to