Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-01-09 10:53:17

David Abrahams wrote:

>>OK, made gcc toolset use "a" suffix on all platforms.
> Not sure what's appropriate for MinGW gcc. I think when you use -lfoo
> with MinGW, it looks for libfoo.a, but I'm not sure. If you want to
> build libs compatible with other Windows toolsets (is that even
> possible with MinGW?) you'll need ".lib"

I'm actually at loss about mingw. It seems to work with ".a", but
what extension is really preferred by MinGW users? Anyway, we can change
mingw extension in a moment. Now, there are not problems with ".a" so let it be.

>>>>As I recall, just a few days ago Pavol Droba has complained on
>>>>Boost ml that "lib" extension is not regognized by cygwin...
>>>>Or are NT and CYGWIN different things?
>>>Yes. That's why both names appear in that file.
>>What are the differences, when one uses the gcc toolset?
> CYGWIN is a platform and an environment that runs on top of NT and
> gives the illusion of Unix. A bjam built under Cygwin will be
> different from one built under NT.
> GCC is a separate issue; you can use the Cygwin GCC or the MinGW GCC
> from NT. From Cygwin, you can only use Cygwin GCC. The difference
> between Cygwin and MinGW GCC is which runtime and system libraries
> they link to. Cygwin GCC uses the Cygwin Unix emulation layer
> library, whereas MinGW uses the native libraries.

OK, that's what I though. However: what's the difference from the build
system POV. Are command lines the same for gcc under Cygwin and under NT.
Or one has to use implib in NT case. Or something else?

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at