Boost logo

Boost-Build :

From: Erik Purins (erik_at_[hidden])
Date: 2004-04-08 15:11:40


Hello readers;

I wanted to extend msvc.jam in the version I have (3.1.9 OS=NT).
I added missing flags I wanted to use for architecture-specific
instructions.

feature.feature architecture : p3 p4 : optional symmetric ;
flags msvc.compile CFLAGS <architecture>p3 : /arch:SSE ;
flags msvc.compile CFLAGS <architecture>p4 : /arch:SSE2 ;

I'm not sure what the attributes of architecture should be.
optional; since you might not need the instruction sets (another architecture).
symmetric; since it doesn't have a default
Am I missing any, or are these 2 attributes wrong?
Is architecture the best word to refer to this feature as?
Is there already native support for this somewhere that I could
have included/extended?

I'm only interested in p3 specifically and I don't have
the intel toolset; the /arch flag might not be exclusive
to ms version of the tools; does anyone with the intel
tools know the respective flags for optimized instructions
for each architecture?

Are there more up-to-date bb v2 files that have expanded the toolset options?
Maybe I don't need to change msvc.jam on my own?

-e

 


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