- 現在との差分 を表示
- ソース を表示
- Solaris-11 へ行く。
2: 2011-06-11 (土) 05:06:47 s09081 | 3: 2011-06-11 (土) 23:31:57 s09081 | ||
---|---|---|---|
Line 34: | Line 34: | ||
# /usr/dt/bin/dtconfig -d でCUI | # /usr/dt/bin/dtconfig -d でCUI | ||
# /usr/dt/bin/dtconfig -e でGUI | # /usr/dt/bin/dtconfig -e でGUI | ||
+ | **GCC [#ga3b0b1b] | ||
+ | ***gmp [#v41df2b1] | ||
+ | # cd /usr/local/src/ | ||
+ | # wget ftp://ftp.gmplib.org/pub/gmp-5.0.1/gmp-5.0.1.tar.bz2 | ||
+ | # bzip2 -cd gmp-5.0.1.tar.bz2 | tar xvf - | ||
+ | # cd gmp-5.0.1 | ||
+ | $ env CFLAGS=-O3 ABI=32 \ | ||
+ | ./configure --prefix=/usr/local/gcc \ | ||
+ | --localstatedir=/var \ | ||
+ | --enable-shared \ | ||
+ | --disable-static \ | ||
+ | --disable-libtool-lock \ | ||
+ | --disable-alloca --enable-cxx --enable-fft \ | ||
+ | --enable-mpbsd \ | ||
+ | --enable-pic | ||
+ | |||
+ | ※ --enable-fat を指定すると、error が出るので Solaris では指定しないように | ||
+ | |||
+ | $ gmake | ||
+ | $ gmake check | ||
+ | # gmake install | ||
+ | |||
+ | ***mpfr [#eeca671f] | ||
+ | $ LD_OPTIONS="-L/opt/sfw/gcc-4.6.0/lib -R/opt/sfw/gcc-4.6.0/lib" | ||
+ | $ export LD_OPTIONS | ||
+ | |||
+ | $ env CFLAGS=-O3 \ | ||
+ | ./configure --prefix=/usr/local/gcc \ | ||
+ | --localstatedir=/var \ | ||
+ | --enable-shared \ | ||
+ | --disable-static \ | ||
+ | --disable-libtool-lock \ | ||
+ | --enable-thread-safe \ | ||
+ | --enable-tests-timeout=0 \ | ||
+ | --with-gmp-include=/usr/local/gcc/include \ | ||
+ | --with-gmp-lib=/usr/local/gcc/lib \ | ||
+ | --with-mulhigh-size=2048 \ | ||
+ | --with-pic | ||
+ | |||
+ | $ gmake | ||
+ | $ gmake check | ||
+ | $ gmake install | ||
+ | ***mpc [#fd2cc573] | ||
+ | $ wget http://www.multiprecision.org/mpc/download/mpc-0.9.tar.gz | ||
+ | $ gzip -cd mpc-0.9.tar.gz | tar xvf -s | ||
+ | $ cd mpc-0.9 | ||
+ | $ env CFLAGS=-O3 \ | ||
+ | ./configure --prefix=/opt/sfw/gcc\-4.6.0/ \ | ||
+ | --localstatedir=/var \ | ||
+ | --enable-shared \ | ||
+ | --disable-static \ | ||
+ | --disable-libtool-lock \ | ||
+ | --with-gmp-include=/opt/sfw/gcc-4.6.0/include \ | ||
+ | --with-gmp-lib=/opt/sfw/gcc-4.6.0/lib \ | ||
+ | --with-mpfr-include=/opt/sfw/gcc-4.6.0/include \ | ||
+ | --with-mpfr-lib=/opt/sfw/gcc-4.6.0/lib \ | ||
+ | --with-pic | ||
+ | |||
+ | $ vi config.h | ||
+ | |||
+ | ※ #define HAVE_COMPLEX_H 1 をコメントアウト | ||
+ | |||
+ | $ gmake | ||
+ | $ gmake check | ||
+ | # gmake install |
- Solaris-11 のバックアップ一覧
- Solaris-11 のバックアップ差分(No. All)