Subject: [Boost-build] Different <cflags> per toolset?
From: Dieter Van de Walle (dieter.vandewalle_at_[hidden])
Date: 2010-10-19 08:58:46
I am a novice at boost-build, and have run into the following problem:
I have upgraded the compiler on my development machine to gcc-4.4 .
In the code I am currently working on, to get the code to build with gcc-4.4,
I need to add a gcc-4.4 specific cflag. This fixes the build on my dev machine.
However, this breaks the code on the buildmachine and other developers.
So I need to specify cflags that are specific to a given toolset.
I do not yet understand enough of boost-build to do this,
I have no clue if this is possible, how hard this is, or where to start...
Some pointers would be greatly appreciated!
(In general, some advanced examples of boost-build environments
would be very much appreciated.
I find it very hard to learn the boost-build language, due to lack of
good documentation and samples...)
Boost.Build V2 (Milestone 12)
Dieter Van de Walle
Newtecâs MENOS system awarded IBC Innovation Award for Content Delivery & the IBC Judgesâ Award Newtecâs FlexACM awarded 2009 Teleport Technology of the Year by WTA *** e-mail confidentiality footer *** This message and any attachments thereto are confidential. They may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake, please let us know by e-mail reply and delete it from your system; you may not copy this message or disclose its contents to anyone. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the content of this message, which may arise as a result of e-mail transmission. If verification is required, please request a hard copy.
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