Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-10-20 06:43:51


Please describe for me the behavior you would like to see. I'm sure some
facility for this can now be easily integrated with the build system.


  David Abrahams, C++ library designer for hire

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

----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, October 20, 2001 6:52 AM
Subject: [boost] DLL names under windows

> >Now that I have a basic build system running, I notice that the Regex
> generated have a name I expect would be the same if I compiled with >MSVC,
> or Cygwin. Would these DLLs be interchangeable? I doubt it. Given the
> windows practice of installing (almost) all DLLs in the system >folder,
> isn't this asking for trouble if two tools supplied by different vendors
> rely on the same boost library, but use different compilers?
> Yes absolutely, and that's one reason why the regex lib still ships with
> makefiles. This is not just a win32 issue, on some unix systems you more
> or less have to place shared libs in a particular location, placing them
> elsewhere can be very much "non-trivial" , involving either a hardcoded
> path at link time, or some extra environment variables.
> There is also another issue - since the jam generated libs all have the
> same name, it's not possible to use automatic lib selection using the
> #pragma comment(lib,"somefile.lib") syntax. And that's a very useful
> feature to have, both for the end user, and for the developer - it cuts
> down a lot on messages like "why does my program crash at runtime", that
> are due to linking with the wrong lib build. These errors are almost
> impossible to track down via email BTW, and are surprisingly easy to
> commit, especially with the Borland compiler for some reason.
> - John Maddock
> Info: Unsubscribe:
> Your use of Yahoo! Groups is subject to

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