List Info

Thread: bbv2-m11: pre-built library ordering




bbv2-m11: pre-built library ordering
user name
2007-03-27 13:16:54
Hi,

My project links against a set of pre-built static
libraries, which
are declared using the "lib" rule, with
dependencies expressed with
the <use> requirement. The linker makes a single pass,
so the order of
the libraries as they appear on the link line is important.
When it
comes to calculating the correct library order, the only
case it seems
to work is when the libraries are declared using
<search> and <name>
requirements. I prefer a more precise method based on the
<file>
property, which translates into the "object file"
notation on the link
line, but then the order seems to change depending on where
I declare
the pre-built targets (the project itself or its parent),
and how I
invoke the build ("bjam" or "bjam
<target>"): in other words, the
order becomes undefined. Is ordering supposed to work with
pre-built
libraries declared with <file> at all?
I am using m11, but tried with a recent CVS snapshot as well
with the
same result.

Thanks,
--Alexey
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )