Added Rails program
This commit is contained in:
parent
2471001fa2
commit
4ac5d849cb
45 changed files with 8523 additions and 28 deletions
|
|
@ -1,11 +0,0 @@
|
|||
mkdir ../gcc-build &&
|
||||
cd ../gcc-build &&
|
||||
../gcc-4.1.2/configure \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib \
|
||||
--enable-shared \
|
||||
--enable-threads=posix \
|
||||
--enable-__cxa_atexit \
|
||||
--enable-clocale=gnu \
|
||||
--enable-languages=c,c++
|
||||
# --enable-languages=c,c++,ada,fortran,java,objc,treelang &&
|
||||
38
tdw-experimental/sample-configs/gcc/stow.gcc.sh
Normal file
38
tdw-experimental/sample-configs/gcc/stow.gcc.sh
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#!/bin/bash
|
||||
set -o errexit
|
||||
VERSION='4.4.0'
|
||||
BUILD_DIR='gcc-build'
|
||||
|
||||
do_configure () {
|
||||
mkdir ../${BUILD_DIR} &&
|
||||
cd ../${BUILD_DIR} &&
|
||||
../gcc-${VERSION}/configure \
|
||||
--prefix=/usr \
|
||||
# --libexecdir=/usr/lib \
|
||||
--enable-shared \
|
||||
--enable-threads=posix \
|
||||
--enable-__cxa_atexit \
|
||||
--enable-clocale=gnu \
|
||||
# --enable-languages=c,c++,ada,fortran,java,objc,treelang
|
||||
--enable-languages=c,c++ &&
|
||||
cd -
|
||||
}
|
||||
|
||||
do_build () {
|
||||
cd ../${BUILD_DIR}
|
||||
make
|
||||
sudo make DESTDIR=/stow/gcc-${VERSION} install
|
||||
cd -
|
||||
}
|
||||
|
||||
do_package () {
|
||||
cd /stow
|
||||
tar -cjvf gcc-${VERSION}.stow.tar.bz2 gcc-${VERSION}
|
||||
mkdir --parent STOWBALLS
|
||||
mv tar -cjvf gcc-${VERSION}.stow.tar.bz2 STOWBALLS
|
||||
cd -
|
||||
}
|
||||
|
||||
do_configure
|
||||
do_build
|
||||
do_package
|
||||
Loading…
Add table
Add a link
Reference in a new issue