milis/talimatname/genel/g/gcc-go/talimat

35 lines
681 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: go (1.4) GNU derleyici kütüphane ve ikili dosyaları-go bootstrap
2017-04-25 06:18:18 +02:00
# URL: http://gcc.gnu.org
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge@gmail.com
# Gerekler:
2017-04-25 06:18:18 +02:00
2017-10-28 14:10:23 +02:00
isim=gcc-go
surum=5.3.0
devir=1
2017-04-25 06:18:18 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(http://ftp.gnu.org/gnu/gcc/gcc-$surum/gcc-$surum.tar.bz2)
2017-04-25 06:18:18 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd gcc-$surum
2017-04-25 06:18:18 +02:00
mkdir -v ../gcc-build
cd ../gcc-build
SED=sed \
2017-10-28 14:10:23 +02:00
../gcc-$surum/configure \
2017-04-25 06:18:18 +02:00
--enable-threads=posix \
--enable-shared \
--enable-__cxa_atexit \
--enable-languages=c,c++,go \
--enable-secureplt \
--enable-checking=yes \
--with-long-double-128 \
--enable-decimal-float \
--disable-bootstrap \
--disable-alsa \
--disable-multilib \
--prefix=/usr/local/gccgo
make
make DESTDIR=$PKG install
}