update linux build to use 32 bit with g++4.1

Thu, 10 Mar 2011 03:02:35 +0000

author
Andrew de Laix <alain@lindenlab.com>
date
Thu, 10 Mar 2011 03:02:35 +0000
changeset 21
f1c8de42baf0
parent 20
df5efec8c160
child 22
babb2903d14c

update linux build to use 32 bit with g++4.1

boost_1_45_0/tools/build/v2/user-config.jam file | annotate | diff | revisions
build-cmd.sh file | annotate | diff | revisions
     1.1 --- a/boost_1_45_0/tools/build/v2/user-config.jam	Fri Mar 04 13:56:21 2011 -0800
     1.2 +++ b/boost_1_45_0/tools/build/v2/user-config.jam	Thu Mar 10 03:02:35 2011 +0000
     1.3 @@ -44,6 +44,7 @@
     1.4  
     1.5  # Configure specific gcc version, giving alternative name to use.
     1.6  # using gcc : 3.2 : g++-3.2 ;
     1.7 +using gcc : 4.1 : g++-4.1 ;
     1.8  
     1.9  
    1.10  # -------------------
     2.1 --- a/build-cmd.sh	Fri Mar 04 13:56:21 2011 -0800
     2.2 +++ b/build-cmd.sh	Thu Mar 10 03:02:35 2011 +0000
     2.3 @@ -75,7 +75,7 @@
     2.4      "linux")
     2.5  	stage_lib="$stage/lib"
     2.6  	./bootstrap.sh --prefix=$(pwd)
     2.7 -	./bjam toolset=gcc-4.1 variant=release $BOOST_BJAM_OPTIONS stage
     2.8 +	./bjam toolset=gcc-4.1 address-model=32 architecture=x86 variant=release $BOOST_BJAM_OPTIONS stage
     2.9  	stage_release="$stage_lib/release"
    2.10  
    2.11  	mkdir -p "$stage_release"
    2.12 @@ -85,7 +85,7 @@
    2.13  	mv "$stage_lib/libboost_filesystem.a" "$stage_release"
    2.14  	mv "$stage_lib/libboost_system.a" "$stage_release"
    2.15  
    2.16 -	./bjam toolset=gcc-4.1 variant=debug $BOOST_BJAM_OPTIONS stage
    2.17 +	./bjam toolset=gcc-4.1 address-model=32 architecture=x86 variant=debug $BOOST_BJAM_OPTIONS stage
    2.18  	stage_debug="$stage/lib/debug"
    2.19  	mkdir -p "$stage_debug"
    2.20  	mv "$stage_lib/libboost_program_options.a" "$stage_debug"

mercurial