[Lunar-commits] r22376 - moonbase/trunk/compilers/gcc

Auke Kok sofar at lunar-linux.org
Fri Dec 1 02:12:41 CET 2006


Author: sofar
Date: 2006-12-01 02:12:41 +0100 (Fri, 01 Dec 2006)
New Revision: 22376

Added:
   moonbase/trunk/compilers/gcc/BUILD.x86_64
Log:
last x86_64 fix needed! all ISO modules build in the chroot!


Added: moonbase/trunk/compilers/gcc/BUILD.x86_64
===================================================================
--- moonbase/trunk/compilers/gcc/BUILD.x86_64	                        (rev 0)
+++ moonbase/trunk/compilers/gcc/BUILD.x86_64	2006-12-01 01:12:41 UTC (rev 22376)
@@ -0,0 +1,29 @@
+(
+
+  mkdir BUILD                                &&
+  cd BUILD                                   &&
+
+  sedit 's/trap 0/trap "" 0/' ../configure   &&
+
+  LANGUAGES=${LANGUAGES:=c++}                &&
+  ../configure --host=$BUILD                 \
+               --enable-languages=$LANGUAGES \
+               --prefix=/usr                 \
+               --infodir=/usr/share/info     \
+               --mandir=/usr/share/man       \
+               --enable-__cxa_atexit         \
+               --enable-threads              \
+               --disable-nls                 \
+               --enable-target-optspace      \
+               --with-gnu-ld                 \
+               --with-system-zlib            \
+               --enable-shared               \
+	       --disable-multilib            &&
+
+# sedit 's/= install-headers-tar/= install-headers-cpio/' gcc/Makefile  &&
+
+  make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean  &&
+  prepare_install                            && 
+  make install
+
+) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list