Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-11-10 02:31:59


Andre Hentz wrote:
> On Sat, 8 Nov 2003, Vladimir Prus wrote:
> > The docs say this -R handling is true for all platform, so changing
> > -rpath to -R looks like the optimal solution. Patches welcome ;-)
>
> However, judging from
> http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html (which is
> perhaps a little outdated), not all system linkers take the -R option. In
> fact, they all seem very different even when it comes to handling the
> -soname/-h option.

Hmm... true, I have not idea what linkers are used on SGI or Tru64 machines
and whether they accept -R, as GNU ld does. OTOH, as it stands now,
<dll-path> feature is just broken on Solaris, and Boost.Build users use
Solaris, but not SGI or Tru64.

> I'd be happy to provide the trivial patch that changes -rpath to
> -R but I'm not sure that is desirable.

I'd be happy if you send the patch -- unless somebody has a greater solution
that will be guaranteed to work on all systems.

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk