mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
- corrected some minor errors
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9915 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# this script prepares the /boot/develop/tools/gnupro-folder for distribution
|
||||
#
|
||||
GCC_VER=`gcc --version`
|
||||
FULL_VER=gcc-2.95.3_binutils-2.15
|
||||
# strip executables
|
||||
strip --strip-unneeded /boot/develop/tools/gnupro/bin/*
|
||||
strip --strip-unneeded /boot/develop/tools/gnupro/i586-pc-beos/bin/*
|
||||
@@ -21,9 +22,24 @@ mv /boot/develop/tools/gnupro/lib/gcc-lib/i586-pc-beos/$GCC_VER/specs /boot/deve
|
||||
ln -sf /boot/develop/tools/gnupro/lib/gcc-lib/i586-pc-beos/$GCC_VER/specs.Default /boot/develop/tools/gnupro/lib/gcc-lib/i586-pc-beos/$GCC_VER/specs
|
||||
cp -a ../gcc/COPYING* /boot/develop/tools/gnupro/
|
||||
# install readline lib, headers and html-docs
|
||||
#strip --strip-unneeded ../../readline-5.0/lib*.a
|
||||
#cp -a ../../readline-5.0/lib*.a /boot/develop/tools/gnupro/lib/
|
||||
#strip --strip-unneeded ~/Sources/ports/readline-5.0/lib*.a
|
||||
#cp -a ~/Sources/ports/readline-5.0/lib*.a /boot/develop/tools/gnupro/lib/
|
||||
#cp -a /boot/home/config/include/readline /boot/develop/tools/gnupro/include/
|
||||
#cp -a ../../readline-5.0/doc/readline.html /boot/develop/tools/gnupro/html-docs/
|
||||
#cp -a ~/Sources/ports/readline-5.0/doc/readline.html /boot/develop/tools/gnupro/html-docs/
|
||||
# identify all files
|
||||
mimeset /boot/develop/tools/gnupro/
|
||||
# add sdk-subfolder and create the required links:
|
||||
rm -rf /boot/develop/tools/sdk_$FULL_VER
|
||||
mkdir -p /boot/develop/tools/sdk_$FULL_VER
|
||||
cat >/boot/develop/tools/sdk_$FULL_VER/Readme <<EOF
|
||||
This folder exists to integrate gcc into the Dano/Zeta layout of the
|
||||
development-tools. If you want to activate $GCC_VER, just make a link from
|
||||
/etc/develop/zeta-r1-gcc2-x86/tools/sdk to this folder.
|
||||
EOF
|
||||
mkdir -p /boot/develop/tools/sdk_$FULL_VER/release/H-i586-pc-beos5/T-i586-pc-beos5/i586-pc-beos5
|
||||
pushd /boot/develop/tools/sdk_$FULL_VER/release/H-i586-pc-beos5/T-i586-pc-beos5/i586-pc-beos5
|
||||
ln -sf ../../../../../$FULL_VER/i586-pc-beos/lib lib
|
||||
cd ..
|
||||
ln -sf ../../../../$FULL_VER/bin bin
|
||||
ln -sf ../../../../$FULL_VER/lib lib
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user