|
|
|
@ -20,7 +20,10 @@ |
|
|
|
# |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
# This configuration file is used for building 'gcc2' and 'gcc3'. |
|
|
|
# This configuration file is used for building any gcc package, |
|
|
|
# 'gcc2', 'gcc3', 'gccx' and other versions / variants present in the |
|
|
|
# ROCK Linux repositories. |
|
|
|
# |
|
|
|
# package/base/gcc2/gcc2.conf simply includes this file. |
|
|
|
|
|
|
|
create_links() { |
|
|
|
@ -84,7 +87,7 @@ custmain() { |
|
|
|
makeinstopt="$makeinstopt ${x}dir=$builddir/inst_$x" |
|
|
|
done |
|
|
|
|
|
|
|
# BUG?!? INTRODUCED INTO GCC-3.2.1 |
|
|
|
# NAMING VARIANT!? INTRODUCED IN GCC-3.2.1 |
|
|
|
if [ $arch = powerpc ] ; then |
|
|
|
ln -s ppc-nocross-linux-gnu powerpc-nocross-linux-gnu |
|
|
|
fi |
|
|
|
@ -155,7 +158,7 @@ custmain() { |
|
|
|
# gcc-2.x contains no java compiler |
|
|
|
confopt="$confopt --enable-languages=c,c++,objc,f77" |
|
|
|
elif [ "$ROCKCFG_DIETLIBC_ALL" = 1 -o "$ROCKCFG_DIETLIBC_gcc3" = 1 ] ; then |
|
|
|
# c++ and java are not working with dietlibc FIXME |
|
|
|
# FIXME: c++ and java are not working with dietlibc |
|
|
|
confopt="$confopt --enable-languages=c,objc" |
|
|
|
elif [ $pkg = gcc3 -a "$ROCKCFG_PKG_GCC3_NO_JAVA" = 1 ] || \ |
|
|
|
[ $pkg = gcc33 -a "$ROCKCFG_PKG_GCC33_NO_JAVA" = 1 ] || \ |
|
|
|
@ -163,7 +166,7 @@ custmain() { |
|
|
|
# gcc-3.x contains no chill compiler |
|
|
|
confopt="$confopt --enable-languages=c,c++,objc,f77" |
|
|
|
elif [ "$arch" = mips ] ; then |
|
|
|
# MIPS doesn't like the Java compiler |
|
|
|
# FIXME: MIPS doesn't like the Java compiler |
|
|
|
confopt="$confopt --disable-libgcj" |
|
|
|
fi |
|
|
|
|
|
|
|
@ -207,6 +210,9 @@ custmain() { |
|
|
|
fi |
|
|
|
done |
|
|
|
done |
|
|
|
|
|
|
|
# gcc2 does not contain an own c++filt ... - so use the binutils one |
|
|
|
# |
|
|
|
if [ "$pkg" = gcc2 ] ; then |
|
|
|
ln -vsf $root/$prefix/bin/c++filt-2 c++filt-binutils |
|
|
|
fi |
|
|
|
|