【发布时间】:2016-08-12 21:42:32
【问题描述】:
我正在阅读此Tuto,我正在尝试使用此命令链接应用程序:ld test.o –o test.bin,链接器无法识别-o 选项:
ld: cannot find –o: No such file or directory
使用ld -help 选项-o 存在,但我不明白为什么会遇到这个问题。
这是链接器版本。
$ ld -version
GNU ld (GNU Binutils for Ubuntu) 2.24
Copyright 2013 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
【问题讨论】: