Top/Linux/VIA_C3_Ezra

VIA_C3_Ezra の変更点はてなブックマーク

  • 追加された行はこの色です。
  • 削除された行はこの色です。
  • Linux/VIA_C3_Ezra へ行く。

gcc-3.3から-march=c3と出来るようになった。
--[[Courville.org PhpWiki - Gcc>http://www.courville.org/phpwiki/Gcc]]
--[[ググる:march c3 ezra]]

-GCC3.4.x
--[[How to install gcc-3.4.2>http://quox.org/install/gnu/gcc-3.4.2.html]]
--[[2004年08月の雑感>http://homepage1.nifty.com/markey/memo/200408.html#080104]]
--[[Just another Ruby porter, 2004-7-a>http://jarp.jin.gr.jp/diary/200407a.html#200407041]]
--bootstrap [[GCC-3.3.1 のインストール 第1段階>http://www.linux.or.jp/JF/JFdocs/LFS-BOOK/chapter05/gcc-pass1.html]]

*GCCを上げるのは何となく怖いので
**zlib
 tar zxvf zlib-1.2.1.tar.gz
 cd zlib-1.2.1/
 CFLAGS="-march=i586 -pipe -O2 -fomit-frame-pointer \
 -ffast-math -finline-functions -mmmx -m3dnow" \
 ./configure --prefix=/usr
 make
 make install

**libpng
 tar jxvf libpng-1.2.7.tar.bz2
 cd libpng-1.2.7/
 cp -p scripts/makefile.linux makefile
 vi makefile
>
 ZLIBLIB=/usr/lib
 ZLIBINC=/usr/include
<
>
 CFLAGS=-march=i586 -pipe -O2 -fomit-frame-pointer \
 -ffast-math -finline-functions -mmmx -m3dnow
<
 make
 make install

**libjpeg
 tar zxvf jpegsrc.v6b.tar.gz
 cd jpeg-6b/
 CFLAGS="-march=i586 -pipe -O2 -fomit-frame-pointer \
 -ffast-math -finline-functions -mmmx -m3dnow" \
 ./configure --prefix=/usr
 make
 make install

**Apache
 tar zxvf httpd-2.0.51.tar.gz
 cd httpd-2.0.51/
 CFLAGS="-march=i586 -pipe -O2 -fomit-frame-pointer \
 -ffast-math -finline-functions -mmmx -m3dnow" \
 ./configure --prefix=/usr/local/apache2051 \
 --enable-so \
 --enable-rewrite \
 --disable-autoindex \
 --disable-imap \
 --disable-include \
 --disable-negotiation \
 --disable-status \
 --disable-userdir
 make
 make install
 cp /usr/local/apache2/conf/httpd.conf /usr/local/apache2051/conf/
 cp /usr/local/apache2051/modules/libphp4.so /usr/local/apache2/modules/
 /etc/rc.d/init.d/httpd stop
 cp /usr/local/apache2/logs/* /usr/local/apache2051/logs/
 rm -i /usr/local/apache2
 ln -s /usr/local/apache2051 /usr/local/apache2
 /etc/rc.d/init.d/httpd start

**PHP
 tar jxvf php-4.3.9.tar.bz2
 cd php-4.3.9/
 CFLAGS="-march=i586 -pipe -O2 -fomit-frame-pointer \
 -ffast-math -finline-functions -mmmx -m3dnow" \
 ./configure --with-apxs2=/usr/local/apache2/bin/apxs \
 --without-mysql \
 --enable-mbstring \
 --enable-mbstr-enc-trans \
 --enable-mbregex \
 --with-gd \
 --with-ttf \
 --with-jpeg-dir=/usr/lib \
 --with-png-dir=/usr/lib \
 --with-zlib-dir=/usr/include
 make
 /etc/rc.d/init.d/httpd stop
 make install
 vi /usr/local/apache2051/conf/httpd.conf
 /etc/rc.d/init.d/httpd start

**MMCache
 tar zxvf turck-mmcache-2.4.6.tar.gz
 cd turck-mmcache-2.4.6
 export PHP_PREFIX="/usr/local"
 $PHP_PREFIX/bin/phpize
 export CFLAGS="-march=i586 -pipe -O2 -fomit-frame-pointer \
 -ffast-math -finline-functions -mmmx -m3dnow"
 ./configure --enable-mmcache=shared --with-php-config=$PHP_PREFIX/bin/php-config
 make
 /etc/rc.d/init.d/httpd stop
 make install
 rm -i /usr/local/lib/php/extensions/mmcache.so
 ln -s /usr/local/lib/php/extensions/no-debug-non-zts-20020429/mmcache.so /usr/local/lib/php/extensions/mmcache.so
 vi /usr/local/lib/php.ini
 /etc/rc.d/init.d/httpd start

fast-mathは結構危険らしいですね。

**気になる
-[[ServerSetup - W124-PukiWiki>http://w124.dyndns.org/?ServerSetup#o600355a]] Eden用カーネルパッチがある?
--[[Index of /epia_kernel>http://epia.kalf.org/epia_kernel/]]
-[[flashplayer+EsounDとLM_sensors>http://www.ne.jp/asahi/hp/syow-yow/note0056.html]] LM_sensors
差分 一覧