]> https://gitweb.dealii.org/ - candi.git/commitdiff
gcc: added linux-devel-suite support for compiling gcc (without system wide gmp,mpfr...
authorUwe Köcher <koecher@hsu-hamburg.de>
Mon, 22 Jun 2015 13:04:20 +0000 (15:04 +0200)
committerUwe Köcher <koecher@hsu-hamburg.de>
Mon, 22 Jun 2015 13:04:20 +0000 (15:04 +0200)
gcc/packages/gcc.package
project-gcc.cfg

index fc9bc1d9247dff66bf8810c563def5e8ef277ed8..ac6bb789d2ad915541b157ea61f5b79d47e5ce21 100644 (file)
@@ -9,6 +9,15 @@ if [ ${GCC} = "4.9.2" ]; then
     CHECKSUM=4df8ee253b7f3863ad0b86359cd39c43
 fi
 
+CONFOPTS="--disable-multilib"
+
+if [ "${LINUX_DEVEL_SUITE}" ]; then
+  CONFOPTS="${CONFOPTS} 
+    --with-gmp=${LINUX_DEVEL_SUITE}
+    --with-mpfr=${LINUX_DEVEL_SUITE}
+    --with-mpc=${LINUX_DEVEL_SUITE}"
+fi
+
 MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/compiler/gcc
 CONFIG_FILE=${MODULEFILE_PATH}/${VERSION}
 
index 367f2afb08d2a8248c64e4afbda5a1d42451777f..c76481d21ed30cb5ea6b5c63e7352d7bd09f367e 100644 (file)
@@ -11,6 +11,9 @@ PROJECT=gcc
 #VERSION=4.9.1
 VERSION=4.9.2
 
+# Do you have the candi/linux-devel-suite installed?
+#LINUX_DEVEL_SUITE=~/apps/candi/linux-devel-suite
+
 # How many processes would you like to build using?
 PROCS=1
 
@@ -23,10 +26,9 @@ DOWNLOAD_PATH=${PREFIX_PATH}/src
 UNPACK_PATH=${PREFIX_PATH}/unpack
 
 # Where do you want the build files to go?
-BUILD_PATH=${PREFIX_PATH}/compiler/${PROJECT}/${VERSION}-build
+BUILD_PATH=${PREFIX_PATH}/compiler-${PROJECT}-${VERSION}-build
 
 # Where do you want the compiled software installed?
 INSTALL_PATH=${PREFIX_PATH}/compiler/${PROJECT}/${VERSION}
 
 GCC=${VERSION}
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.