在 Sun Solaris Studios 12.2 中哪里可以找到链接器(ld)?
目前,我正在使用 SPARC 计算机上预安装的链接器进行链接 在以下目录中:
/usr/ccs/bin/ld
我想使用 Sun Studios Compiler 12.2 编译我的应用程序,因此我还想使用此包附带的链接器。然而,当检查Sun Studios的bin目录时,我只能找到ac编译器(cc),但没有找到ld(链接器)。任何人都知道在哪里 这已经消失了,我如何调用它?
非常感谢, 麦克风
At the moment I am using for linking purposes the pre-installed linker on my SPARC machine
in the following directory:
/usr/ccs/bin/ld
I wanna compile my application with the Sun Studios Compiler 12.2 and so I would also like to use the linker that should come with this package. However, when checking the bin directory of Sun Studios I can just find a c compiler (cc), but no ld (linker). Anyone an idea where
this has gone and how I can invoke it?
Many thanks,
Mike
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
默认情况下(即,除非您非常努力)Studio 编译器将使用操作系统附带的链接器版本作为核心(不可删除)组件。
完全不建议尝试在 Solaris 上使用 GNU 链接器。两者之间存在很多功能差异。
如果您想深入了解 Solaris 链接器,请阅读 http 上的 doco: //docs.oracle.com/cd/E26502_01/html/E26507/index.html,或来自团队的博客 - https://blogs.oracle.com/rie 和 https://blogs.oracle.com/ali。
By default (ie, unless you try very hard) Studio Compilers will use the version of the linker that is shipped with the operating system as a core (unremoveable) component.
It is not recommended at all to try to use the GNU linker on Solaris. There are lots of feature differences between the two.
If you want to delve more into the Solaris linker, read the doco at http://docs.oracle.com/cd/E26502_01/html/E26507/index.html, or blogs from the team - https://blogs.oracle.com/rie and https://blogs.oracle.com/ali.
/usr/bin/ld
位于pkg:/开发者/链接器
/usr/bin/ld
is inpkg:/developer/linker