Subject: Re: [Boost-build] compiling boost with 2 versions of gcc
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-17 13:34:57
On 11/16/2013 04:10 AM, Renaud Lepère wrote:
> I would like to use 2 different versions of gcc under windows (mingw 32
> bits, and mingw 64 bits) ; and i would like to be compile and use boost
> in both variants.
> I have modified user-config.jam
> using gcc : mingw64 : c:/mingw64/bin/g++ ;
> using gcc : mingw32 : c:/mingw32/bin/g++ ;
> but when i build boost for example using :
> b2 gcc-mingw64 --with-filesystem stage
> i ended with a file under stage\lib libboost_filesystem-mgw-mt-1_55.a
> that is independant of the version of gcc (32bits or 64bits).
> ideally i would like to have two files :
> libboost_filesystem-mgw64-mt-1_55.a or libboost_filesystem-mgw32-mt-1_55.a
> How can i solve my problem ?
--buildid=XXX will add XXX to the library name.
(This option is listed by bjam --help)
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk