major reorganization; updates to versions; fixes

This commit is contained in:
2015-02-27 16:40:22 +01:00
parent 67e3d5c7c1
commit 51792a80f2
61 changed files with 172 additions and 352 deletions

28
scripts/Programming/gcc/build Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
function em.configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-languages=c,c++,objc,obj-c++,lto,fortran \
--with-gmp="${GMP_PREFIX}" \
--with-mpfr="${MPFR_PREFIX}" \
--with-mpc="${MPC_PREFIX}" \
--enable-lto \
--disable-multilib \
--with-pkgversion="PSI Environment Module" \
|| exit 1
}
# use system gcc to compile
declare -rx CC=gcc
declare -rx CXX=g++
module use 'Libraries'
em.add_to_family 'Programming'
em.set_build_dependencies 'gmp' 'mpfr' 'mpc'
em.set_docfiles 'COPYING' 'COPYING.LIB' 'COPYING.RUNTIME' 'COPYING3' 'COPYING3.LIB' 'NEWS' 'README'
em.make_all