shared.txt-更换GCC版本

gcc-4.6.4
-------------------------------
$>cd /home/vsftpd/build-essential
$>mkdir build && cd build 
$>../gcc-4.6.4/configure --prefix=/home/vsftpd/shared/gcc-4.6.4 --enable-bootstrap --enable-checking=release --enable-languages=c,c++ --enable-threads=posix --disable-multilib --enable-gather-detailed-mem-stats
$>make -j4
$>make install 

make
$>./configure --prefix=/home/vsftpd/shared/gcc-4.6.4

bintils
$>./configure --prefix=/home/vsftpd/shared/gcc-4.6.4

$>export PATH=/home/vsftpd/shared/gcc-4.6.4/bin:$PATH

gdb
$>./configure --prefix=/home/vsftpd/shared/gcc-4.6.4
$>make -j4
$>make install

terminal
---------------------------------
$>export PATH=/home/vsftpd/shared/gcc-4.6.4/bin:$PATH

eclipse
---------------------------------
CC-Workings->Properties->C/C++ Build->Envirorment:PATH=/home/vsftpd/shared/gcc-4.6.4/bin

gcc-4.7.4
-------------------------------
$>c
上一篇:详解FTP服务完成Linux和WIN10之间的信息传输(实验详解)


下一篇:linux开启FTP服务