Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2008-03-27 22:10:04


Author: noel_belcourt
Date: 2008-03-27 22:10:04 EDT (Thu, 27 Mar 2008)
New Revision: 43900
URL: http://svn.boost.org/trac/boost/changeset/43900

Log:
Fix address-model support for 32/64 bit code generation.
Replaced -mcmodel with -m32 / -m64.

Text files modified:
   trunk/tools/build/v2/tools/intel-darwin.jam | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/tools/intel-darwin.jam
==============================================================================
--- trunk/tools/build/v2/tools/intel-darwin.jam (original)
+++ trunk/tools/build/v2/tools/intel-darwin.jam 2008-03-27 22:10:04 EDT (Thu, 27 Mar 2008)
@@ -117,8 +117,8 @@
 
 #
 cpu-type-em64t = prescott nocona ;
-# flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>32 : -mcmodel=small ;
-flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>64 : -mcmodel=large ;
+flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>32 : -m32; # -mcmodel=small ;
+flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>64 : -m64; # -mcmodel=large ;
 
 flags intel-darwin.compile.c OPTIONS <warnings>off : -w0 ;
 flags intel-darwin.compile.c OPTIONS <warnings>on : -w1 ;


Boost-Commit 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