Browse Source

some coments

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1921 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 22 years ago
parent
commit
875b4de028
1 changed files with 10 additions and 4 deletions
  1. +10
    -4
      package/base/gcc3/gcc3.conf

+ 10
- 4
package/base/gcc3/gcc3.conf

@ -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

Loading…
Cancel
Save