|
|
发表于 2005-8-13 07:02:22
|
显示全部楼层
Post by 蜗牛奶
昨天下个GCC3.3,,,make后又用了一下make install,,,不知道对不对,反正也没有出错 You haven't specified --prefix in configure, have you?Post by daemeon
/usr/bin/gcc是2.95的
/usr/local/bin/gcc是3.3的 By default, configure installation path is /usr/local and like daemeon said, your new gcc will be installed to /usr/local/bin.2.95的用GCC -E说好多关联着呢,,就没有敢删掉.. Don't worry, different versions of GCC can co-exist in one system.我发现好多的东西都需要GCC3以上的版本才能MAKE... Simply define your gcc for compling new software will be OK. For example:
$tar zxf xxxxx.tar.gz
$cd xxxxx
$CC=/usr/local/bin/gcc ./configure --prefix=...
$make -j4
Become root,
#make install |
|