mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
* adjusted for package management
git-svn-id: file:///srv/svn/repos/haiku/buildtools/branches/package-management@40760 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
committed by
Ingo Weinhold
parent
e68b71f49e
commit
fa620f65f0
@@ -1,6 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z $GCCDATE ]; then
|
||||
echo "need to set GCCDATE environment variable!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export BELIBRARIES=/boot/common/packages/contents/lib:/boot/system/packages/contents/develop/lib
|
||||
|
||||
mkdir -p binutils-obj
|
||||
cd binutils-obj
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" ../binutils/configure --prefix=/boot/develop/tools/gnupro --disable-nls --enable-shared=yes
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" ../binutils/configure \
|
||||
--prefix=/boot/common/packages/contents/develop/tools/gcc-2.95.3-${GCCDATE} \
|
||||
--disable-nls --enable-shared=yes
|
||||
make
|
||||
cd ..
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z $GCCDATE ]; then
|
||||
echo "need to set GCCDATE environment variable!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export BELIBRARIES=/boot/common/packages/contents/lib:/boot/system/packages/contents/develop/lib
|
||||
|
||||
mkdir -p gcc-obj
|
||||
cd gcc-obj
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" ../gcc/configure --prefix=/boot/develop/tools/gnupro --disable-nls --enable-shared=yes --enable-languages=c,c++
|
||||
CFLAGS="-O2" CXXFLAGS="-O2" ../gcc/configure \
|
||||
--prefix=/boot/common/packages/contents/develop/tools/gcc-2.95.3-${GCCDATE} \
|
||||
--disable-nls --enable-shared=yes --enable-languages=c,c++
|
||||
make bootstrap
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user