Changeset 24542
- Timestamp:
- 03/23/08 18:06:23 (2 months ago)
- Files:
-
- haiku/trunk/build/scripts/build_cross_tools (modified) (4 diffs)
- haiku/trunk/configure (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
haiku/trunk/build/scripts/build_cross_tools
r24412 r24542 60 60 mkdir -p $installDir $objDir $binutilsObjDir $gccObjDir $tmpIncludeDir \ 61 61 $tmpLibDir || exit 1 62 mkdir -p $installDir/lib/gcc-lib/i586-pc- beos/$haikuRequiredLegacyGCCVersion62 mkdir -p $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion 63 63 64 64 # build binutils 65 65 cd $binutilsObjDir 66 66 CFLAGS="-O2" CXXFLAGS="-O2" $buildToolsDir/binutils/configure \ 67 --prefix=$installDir --target=i586-pc- beos--disable-nls \67 --prefix=$installDir --target=i586-pc-haiku --disable-nls \ 68 68 --enable-shared=yes --disable-werror || exit 1 69 69 make || exit 1 … … 96 96 cd $gccObjDir 97 97 CFLAGS="-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 \ 99 99 --enable-languages=c,c++ --with-headers=$tmpIncludeDir \ 100 100 --with-libs=$tmpLibDir || exit 1 … … 125 125 # (unconditional hack: math_huge_val_ifndef) from ours and it is semantically 126 126 # equivalent. 127 rm $installDir/lib/gcc-lib/i586-pc- beos/$haikuRequiredLegacyGCCVersion/include/math.h127 rm $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion/include/math.h 128 128 129 129 … … 132 132 # remove the system headers from the installation dir 133 133 # Only the ones from the source tree should be used. 134 sysIncludeDir=$installDir/i586-pc- beos/sys-include134 sysIncludeDir=$installDir/i586-pc-haiku/sys-include 135 135 rm -rf $sysIncludeDir/be $sysIncludeDir/posix 136 136 haiku/trunk/configure
r23736 r24542 32 32 path to the directory where the cross 33 33 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-". 35 35 This overrides the HAIKU_* tool variables. 36 36 --distro-compatibility <level> … … 212 212 platform=`uname` 213 213 haikuGCCVersion= 214 haikuGCCMachine=i586-pc- beos214 haikuGCCMachine=i586-pc-haiku 215 215 haikuStaticLibStdCxx= 216 216 haikuSharedLibStdCxx= … … 233 233 buildCrossToolsMachine= 234 234 235 export haikuRequiredLegacyGCCVersion="2.95.3- beos-060710"235 export haikuRequiredLegacyGCCVersion="2.95.3-haiku-080323" 236 236 # version of legacy gcc required to build haiku 237 237
