Boost logo

Boost Users :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-07-15 02:14:55


John Femiani wrote:
> Is this issue specific to mingw, or does it apply to cygwin's gcc as
> well (or Interix, or whatever, if they are supported by boost?)
>
>
It is specific to mingw. cygwin uses the unix convention of .a and .so
files.
> Would it be acceptable if there were a different target or option to
> generate .lib files with toolset=gcc, in addition to generating .dll.a?
>
You mean something similar to --layout=system ?
What would you suggest?

The whole point is that boost currently has naming that is aimed at the
platform and not
primarily on the used toolset. I am not sure this really should be
changed, but ...

> Since xyz.lib has less priority than libxyz.a, adding a .lib won't cause
> g++ to pick the wrong library with -lxyz. One would still need a .dll.a
> version or else g++ would try to choose the static library even when one
> wanted dyamic linking.
>
If I understand you well you mean both libs should be generated? Hmm,
smells like bloat, doesn't it?

Roland


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net