flagflag  
2: 2011-06-11 (Sat) 05:06:47 s09081 source 3: 2011-06-11 (Sat) 23:31:57 s09081 source
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/includ​e \
 +           --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/downlo​ad/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/in​clude \
 +           --with-gmp-lib=/opt/sfw/gcc-4.6.0/lib \
 +           --with-mpfr-include=/opt/sfw/gcc-4.6.0/i​nclude \
 +           --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


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

103 user(s) are online (48 user(s) are browsing xpwiki)

Members: 0
Guests: 103

more...

Access Counter

Today : 1122911229112291122911229
Yesterday : 1306913069130691306913069
Total : 2363602523636025236360252363602523636025236360252363602523636025
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com