From: Ali Azarbayejani (ali_at_[hidden])
Date: 2003-03-24 17:23:46
Ali Azarbayejani wrote:
> FYI, the status of the GCC library order fix is
> <1> I'm waiting for a sharp specification of all the ways a library
> can be specified to be dependent on another. This may result in
> re-consideration of the current <library> and <uses>/<dependency>
> features (or not).
To clarify this question...what I mean by "dependent on another" means
the one library uses the symbols in the other library. This is what is
important for command-line library order.
I remembered number <3>
<3> Sometimes, two libraries are dependent on one another. This is bad
design and stupid, but it happens. For instance, in the ImageMagick
package the "coders" library is dependent on "magick" and vice versa.
There has to be a way to support such circular dependency. The solution
is to link one of the libraries twice, before and after the other. The
question is how to express this. If both have <uses> on the other, the
BBv2 system may not like that. It doesn't need to be elegant because
is a rare situation...as long as a workaround exists it's fine.
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