[Lunar-commits] CVS: moonbase/libs/libstdc++5 BUILD, NONE,
1.1 CONFIGURE, NONE, 1.1 DETAILS, NONE, 1.1
Auke Kok
sofar at lunar-linux.org
Wed Dec 15 16:12:16 UTC 2004
Update of /var/cvs/lunar/moonbase/libs/libstdc++5
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/libs/libstdc++5
Added Files:
BUILD CONFIGURE DETAILS
Log Message:
Adding libstdc++5 and checks to not have it compile with gcc-3.3.x. it should be installed if you upgrade gcc to 3.4.3
--- NEW FILE: BUILD ---
(
sedit 's/trap 0/trap "" 0/' configure &&
sedit 's/= install-headers-tar/= install-headers-cpio/' gcc/configure &&
mkdir BUILD &&
cd BUILD &&
../configure --host=$BUILD \
--enable-languages=c++ \
--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 &&
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap-lean &&
prepare_install &&
make DESTDIR=$(pwd -P)/ROOT install-target-libstdc++-v3 &&
install -v $(pwd -P)/ROOT/usr/lib/libstdc++.so.5 /usr/lib/
) > $C_FIFO 2>&1
--- NEW FILE: CONFIGURE ---
if [ "$(installed_version gcc | cut -d. -f1-2)" != "3.4" ]; then
error_message "${PROBLEM_COLOR}This module can only be installed when you have gcc-3.4.x or higher!${DEFAULT_COLOR}"
error_message "${PROBLEM_COLOR}You do not need it when you have gcc-3.3.x${DEFAULT_COLOR}"
exit 1
fi
--- NEW FILE: DETAILS ---
MODULE=libstdc++5
VERSION=3.3.3
SOURCE=gcc-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/gcc-$VERSION
SOURCE_URL[0]=$GNU_URL/gcc/releases/$MODULE-$VERSION/
SOURCE_URL[1]=ftp://ftp.gnu.org/pub/gnu/gcc/releases/$MODULE-$VERSION/
SOURCE_URL[2]=http://www.online-mirror.org/gcc/releases/$MODULE-$VERSION/
SOURCE_VFY=md5:3c6cfd9fcd180481063b4058cf6faff2
WEB_SITE=http://gcc.gnu.org
ENTERED=20041215
UPDATED=20041215
PSAFE=no
SHORT="This is the backwards compatible libstdc++ v5"
cat << EOF
This is the backwards compatible libstdc++ v5 from gcc-3.3.x. It's provided
solely to support running binary applications that explicitly require
the old version to be available. You should normally not needs this.
EOF
More information about the Lunar-commits
mailing list