01 March
2019

[src build] old GCC compile

also on the old linux box

■gcc-4.4.7

cd gcc-4.4.7
cp -p ../download_prerequisites ./contrib/
./contrib/download_prerequisites
# cd ..
# mkdir build
# cd build
../gcc-4.4.7/configure --prefix=/usr/local/gcc-4.4.7 \
--enable-languages=c,c++,objc \
--disable-bootstrap
# --disable-multilib
/usr/local/bin/make
/usr/local/bin/make install

vi ~/.bashrc
export PATH="/usr/local/gcc-4.4.7/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/gcc-4.4.7/lib:$LD_LIBRARY_PATH"
source ~/.bashrc


Posted by unchor at 17:35 | Comments (0)
<< Excel エラーメッセージ が不親切: 読取専用または暗号化されています | Main |
Comments
There are no comments.
Post a comment