Hunter的大杂烩

October 29, 2005

安装了gcc3之后的注意

Filed under: C++,Linux — hunter @ 8:09 pm

编译程序前,需要设置环境变量
export CC=gcc3
export CXX=g++3
export CPP=/usr/local/gcc-3.4.4/bin/cpp
export CXXCPP=/usr/local/gcc-3.4.4/bin/cpp

编译boost的时候,需要加参数
1. bjam “-sGCC_ROOT_DIRECTORY=/usr/local/gcc-3.3.2”

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress