【发布时间】:2021-06-03 18:25:07
【问题描述】:
我正在制作一个 release mod makefile 但有一个错误(我在 macos big sur 上): ld:警告:选项 -s 已过时并被忽略
g++ -c src/*.cpp -std=c++17 -m64 -O3 -Wall -I include && g++ *.o -o bin/debug/Debug -s && ./bin/debug/Debug
【问题讨论】:
-
通过删除消息指出的
-s选项? -
另外Please do not post images of code and other texts because they are hard to use. 文本应直接作为文本在您的问题中发布。
-
@MikeCAT,我想 OP 也想要一种方法来完成等价物。
-
你这是什么意思