Lines Matching refs:gcc
5 # * haikuRequiredLegacyGCCVersion: The required version of the gcc. Will be
27 # Note: The gcc 2 build has trouble with -jN N > 1, hence we only use the
47 # verify or extract the gcc version
48 gccVersionDotC="$buildToolsDir/gcc/gcc/version.c"
51 # version of the gcc in the given build tools directory matches.
62 # from the gcc's version.c.
95 gccObjDir=$objDir/gcc
103 mkdir -p $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion
131 # build gcc
155 (cd $buildToolsDir/gcc/gcc; touch c-parse.c c-parse.h cexp.c cp/parse.c \
158 # configure gcc
161 export CC="gcc -m32"
162 CFLAGS="-O2 -U_FORTIFY_SOURCE -fcommon" CXXFLAGS="-O2 -fcommon" $buildToolsDir/gcc/configure \
179 # make gcc
181 echo "ERROR: Building gcc failed." >&2
185 # install gcc
186 $MAKE install-gcc-cross || {
191 # Remove the math.h gcc header. It has been generated by fixincludes
194 rm -f $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion/include/math.h
212 echo "binutils and gcc for cross compilation have been built successfully!"