|
Boost-Build : |
From: Philipp Frauenfelder (pfrauenf_at_[hidden])
Date: 2004-07-23 00:14:38
Dear Volodya
On Thu, Jul 22, 2004 at 05:51:40PM +0400, Vladimir Prus wrote:
> > Correct. For something to be installed, -R is not allowed.
>
> Exactly. V2 has a special feature for that: <hardcode-dll-paths>.
I use this option already.
> If you set it to true, then paths to dynamic library in your
> build tree will be hardcoded into dlls. If you don't use it,
> they won't be hardcoded. The problem about your patch is that
> it essentially make paths always hardcoded.
However, for some reason, the following two options are
incompatible: -Wl,-R -Wl,/lib/path and -Wl,-rpath-link -Wl,/lib/path
(as far as I understand) and produce the error
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
> Hmm.. then why different linker is used when you invoke collect2 from command
> line?
Maybe some settings in the environment are different (namely
$PATH).
Regards
-- Philipp | work: pfrauenf_at_[hidden] +41 44 632 60 38 Frauenfelder | home: pfrauenf_at_[hidden] +41 44 862 73 14 [PGP] | http://www.math.ethz.ch/~pfrauenf/ Proudly running Debian GNU/Linux. See http://www.debian.org/
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