gcc/g++编译知识

  1. gcc test.c -Dx86,将会传递宏x86

  2. gcc test.c -lpthread -ldl,将会连接动态库pthread和dl。多线程api会引用pthread,符号相关api会引用dl

  3. warning("this function is not implemented")


你可能感兴趣的:(gcc/g++编译知识)