Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-22 11:10:15

----- Original Message -----
From: "Toon Knapen" <toon.knapen_at_[hidden]>

> Sorry, I've drawn my conclusiont to quicly ;-(
> It does work but I expected that the content of <library-file> would end
> up at the end of the link-line instead of at the beginning (since I use
> it for linking with external libs, I need it at the end ; the content of
> <find-library> does end up at the end)

Okay; that's an easy thing to fix.

> Also NEEDLIBS is used twice to workaround circular dependency problems
> (as you state in the comments). Is this really necessary.

It certainly can be neccessary.

> Storing the
> content of <find-library> in another variable, say FINDLIBRARY and
> replacing the last of both NEEDLIBS in the link-line with FINDLIBRARY,
> every still works and it seems like a better solution to me.

Why? I have no axe to grind about the names (NEEDLIBS was inherited from
Perforce Jam), but why do you want to change it? Showing me code would also

> I guess you
> did this to workaround some problem but I can't find the discussion in
> the archive so I might still miss something)

I didn't need to discuss it here, since it's something I've experienced
repeatedly using GNU linkers in the past.


  David Abrahams, C++ library designer for hire

        C++ Booster (
          email: david.abrahams_at_[hidden]

Boost list run by bdawes at, gregod at, cpdaniel at, john at