ubuntu11.10+eclipse 读取配置C环境变量配置
(1)ubuntu下配置文件目录:/etc/profile
(2)命令:sudo vim /etc/profile
(3)编辑如下: a.对于头文件的搜索路径: C_INCLUDE_PATH=<your include path>; export C_INCLUDE_PATH 对于库文件的搜索路径: LIBRARY_PATH=<your lib path>; export LIBRARY_PATH 对于链接程序ld使用的库文件搜索路径: LD_LIBRARY_PATH=<your ldlib path>; export LD_LIBRARY_PATH