|
Boost-Build : |
Subject: [Boost-build] HP-UX absolute library path references
From: João Luís Pinto (joaoluispinto_at_[hidden])
Date: 2010-01-30 09:38:00
Hi,
I'm building Boost 1.41 in HP-UX with gcc and the HP-UX linker, and
I'm getting problems similar to these:
Namely, the problem is that the path to the boost system lib is keep
as an absolute in lib filesystem. Removing the explicit dependency of
lib filesystem on lib system solves the problem, but I then have to
add the system lib as an explicit dependency on projects using lib
filesystem (which does not happen in other platforms).
Perhaps the proposed fix should be extended to gcc in HP-UX?
Also, linking project executables with libs that are part of the same
project (even if you install the build) has the executables keep the
static depend paths on the project libs.
So, if I define
exe myexe : myexe.cpp /project//liba ;
I will get myexe depending statically on the path where liba was built
against the root of the project. if the liba project was in
ROOT/libs/liba/bin/(...), I will have myexe statically depend on
ROOT/libs/liba/bin/(...)/liba.so, even if I bjam install .
Any ideas?
Thank you
Joao
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