与GNU LD --export-dynamic标志等效的Solaris链接器 [英] Solaris linker equivalent to the GNU LD --export-dynamic flag

查看:95
本文介绍了与GNU LD --export-dynamic标志等效的Solaris链接器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

就像这个问题说的那样:我们正在使用GNU链接器在Linux上构建,而在Solaris中使用solaris ld进行构建. GNU ld支持--export-dynamic标志,该标志:

Like the question says: We are building on Linux using the GNU linker, and on Solaris using the solaris ld. GNU ld supports the --export-dynamic flag, which:

创建动态链接的可执行文件时,请将所有符号添加到动态文件中 符号表.动态符号表是可见的符号集 在运行时从动态对象中删除.

When creating a dynamically linked executable, add all symbols to the dynamic symbol table. The dynamic symbol table is the set of symbols which are visible from dynamic objects at run time.

使用solaris链接器等效于此标志是什么? 吗?

What is the equivalent to this flag using the solaris linker? Is there an equivalent?

推荐答案

默认情况下,Sun Studio链接器(ld)导出所有符号.

The Sun Studio linker (ld), by default, exports all symbols.

这篇关于与GNU LD --export-dynamic标志等效的Solaris链接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆