Subject: Re: [Boost-build] HP-UX absolute library path references
From: João Luís Pinto (joaoluispinto_at_[hidden])
Date: 2010-02-03 10:53:09
I believe I have solved the problem.
The required patch for gcc.jam is enclosed.
On Sat, Jan 30, 2010 at 2:38 PM, João Luís Pinto
> 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
-- O Insurgente - http://oinsurgente.org Small Brother - http://small-brother.blogspot.com
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