|
Boost : |
Subject: Re: [boost] passing compiler options
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-18 15:17:22
Lorenzo Bettini wrote:
> Hi
Hi Lorenzo,
> after running bootstrap.sh, if I want to pass my compiler (in this case
> cygwin), is it correct to modify project-config.jam and replace
>
> if ! gcc in [ feature.values <toolset> ]
> {
> using gcc ;
> }
>
> with
>
> using gcc : : : <compileflags>-DBOOST_WINDOWS_API
> <compileflags>-mno-cygwin <linkflags>-mno-cygwin ;
>
> this way, am I sure that these compiler options will be passed to the
> compiler?
This should work, unless you have other 'using gcc' in different
places.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk