开发者

how to see the value of CXX and CXXFLAG

开发者 https://www.devze.com 2023-03-21 21:57 出处:网络
before compiling my C++ program, i exported the CXX and CXXFLAGS from the command line. 开发者_开发知识库$ export CXX=\"/media/space/gcc-dist/bin/g++\"

before compiling my C++ program, i exported the CXX and CXXFLAGS from the command line.

开发者_开发知识库$ export CXX="/media/space/gcc-dist/bin/g++"

$ export CXXFLAGS="-std=c++0x"

But now i want to see the values of CXX and CXXFLAGS. How do i do that. I'm using KUbuntu 11.04


You can usually do this on Linux systems by opening a terminal and entering

echo $CXX
echo $CXXFLAGS
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号