Changeset 24542

Show
Ignore:
Timestamp:
03/23/08 18:06:23 (2 months ago)
Author:
bonefish
Message:
Switched the legacy compiler to the i586-pc-haiku 2.95.3-haiku-080323
gcc. You need to reconfigure and rebuild the cross-tools to have this
change take effect.

Note that from now on it is no longer possible to use the native BeOS
compiler to build Haiku. You'll have to build a cross compiler, too. I
haven't tested whether this works at all, though.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • haiku/trunk/build/scripts/build_cross_tools

    r24412 r24542  
    6060mkdir -p $installDir $objDir $binutilsObjDir $gccObjDir $tmpIncludeDir \ 
    6161        $tmpLibDir || exit 1 
    62 mkdir -p $installDir/lib/gcc-lib/i586-pc-beos/$haikuRequiredLegacyGCCVersion 
     62mkdir -p $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion 
    6363 
    6464# build binutils 
    6565cd $binutilsObjDir 
    6666CFLAGS="-O2" CXXFLAGS="-O2" $buildToolsDir/binutils/configure \ 
    67         --prefix=$installDir --target=i586-pc-beos --disable-nls \ 
     67        --prefix=$installDir --target=i586-pc-haiku --disable-nls \ 
    6868        --enable-shared=yes --disable-werror || exit 1 
    6969make || exit 1 
     
    9696cd $gccObjDir 
    9797CFLAGS="-O2" CXXFLAGS="-O2" $buildToolsDir/gcc/configure --prefix=$installDir \ 
    98         --target=i586-pc-beos --disable-nls --enable-shared=yes \ 
     98        --target=i586-pc-haiku --disable-nls --enable-shared=yes \ 
    9999        --enable-languages=c,c++ --with-headers=$tmpIncludeDir \ 
    100100        --with-libs=$tmpLibDir || exit 1 
     
    125125# (unconditional hack: math_huge_val_ifndef) from ours and it is semantically 
    126126# equivalent. 
    127 rm $installDir/lib/gcc-lib/i586-pc-beos/$haikuRequiredLegacyGCCVersion/include/math.h 
     127rm $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion/include/math.h 
    128128 
    129129 
     
    132132# remove the system headers from the installation dir 
    133133# Only the ones from the source tree should be used. 
    134 sysIncludeDir=$installDir/i586-pc-beos/sys-include 
     134sysIncludeDir=$installDir/i586-pc-haiku/sys-include 
    135135rm -rf $sysIncludeDir/be $sysIncludeDir/posix 
    136136 
  • haiku/trunk/configure

    r23736 r24542  
    3232                              path to the directory where the cross 
    3333                              compilation tools are located, plus the platform 
    34                               prefix, e.g. "/path/to/tools/i586-pc-beos-". 
     34                              prefix, e.g. "/path/to/tools/i586-pc-haiku-". 
    3535                              This overrides the HAIKU_* tool variables. 
    3636  --distro-compatibility <level> 
     
    212212platform=`uname` 
    213213haikuGCCVersion= 
    214 haikuGCCMachine=i586-pc-beos 
     214haikuGCCMachine=i586-pc-haiku 
    215215haikuStaticLibStdCxx= 
    216216haikuSharedLibStdCxx= 
     
    233233buildCrossToolsMachine= 
    234234 
    235 export haikuRequiredLegacyGCCVersion="2.95.3-beos-060710
     235export haikuRequiredLegacyGCCVersion="2.95.3-haiku-080323
    236236        # version of legacy gcc required to build haiku 
    237237