摘要: 原文:http://blog.163.com/tyw_andy/blog/static/11679021201031582826251/GCC使用by Jian LeeGCC的选项如何指定GCC的默认头 文件路径Linux系统的头文件 和库文件搜索路径头文件库文件运行时动态库的搜索路径GCC的选项-c只生成目标文件(.o),不连接。% gcc -c main.c% g++ -c reciprocal.cpp-I可以指定头文件的目录% g++ -c -I ../include reciprocal.cpp-D设置宏定义% g++ -c -D NDEBUG reciprocal.cpp% g++ 阅读全文
posted @ 2012-07-24 11:09 Leo Forest 阅读(173) 评论(0) 推荐(0) 编辑
摘要: svn commit -m `cat /tmp/sometext`报错commit failed: 'xxx' is not under version control原来是shell命令外面忘记加引号了。。。svn commit -m "`cat /tmp/sometext`"顺利提交 阅读全文
posted @ 2012-07-24 09:30 Leo Forest 阅读(690) 评论(0) 推荐(0) 编辑