gcc -D DEBUG test.c gcc -D DEBUG test.c gcc -DDEBUG test.c 有无空格都行。编译的时候在test.c里定义了宏:DEBUG gcc 2023-05-17 308 点赞 4 评论 466 浏览