开发者

What's this kind of bash syntax?

CFLAGS="-g -O0" ./configure

How's CFLAGS="-g -O0" picked up in configure?

Anyone开发者_StackOverflow中文版 knows this?


Here, you're setting CFLAGS as an environment variable to be passed into ./configure. You can set any number of environment variables this way if you happen to need more than one.


-g: C compilation options which relate to optimization or debugging (usually just -g or -O). Usually this wouldn't include -I options to specify the include directories, because then you couldn't override it on the command line easily as in the above example.

For more information, you can refer this url.

http://makepp.sourceforge.net/1.19/makepp_tutorial.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜