免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1816 | 回复: 5
打印 上一主题 下一主题

[C] 连接文档的查看问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-01-14 10:51 |只看该作者 |倒序浏览
Note that the effectiveness of aligned attributes may be limited by inherent
limitations in your linker. On many systems, the linker is only able to arrange
for variables to be aligned up to a certain maximum alignment. (For some
linkers, the maximum supported alignment may be very very small.) If your
linker is only able to align variables up to a maximum of 8 byte alignment, then
specifying aligned(16) in an __attribute__ will still only provide you with
8 byte alignment. See your linker documentation for further information.

这是gcc里面的一段关于attribute aligned的文字。
这里面提到的linker documentation怎么查看啊?

论坛徽章:
0
2 [报告]
发表于 2011-01-14 10:57 |只看该作者
就是你的链接器的说明文档啊 链接器也是一个程序来着 应该有说明文档的说

论坛徽章:
0
3 [报告]
发表于 2011-01-14 11:02 |只看该作者
See your linker documentation for further information...
更多详细信息 请参考你的连接文档 {:3_186:} 我英语相当的烂...

论坛徽章:
0
4 [报告]
发表于 2011-01-14 11:06 |只看该作者
楼主也许是找不到 相关的文档在哪里?是么?

论坛徽章:
0
5 [报告]
发表于 2011-01-14 11:09 |只看该作者

我在一个集成好了的交叉编译环境下编程。只是知道用的gcc4.3.3,GCC官网上我只找到了gcc4.3.5的文档,这段文字就是里面的。
连接器的版本查看不知道。
如何查看连接器版本以及它的文档呢?

论坛徽章:
0
6 [报告]
发表于 2011-01-14 11:16 |只看该作者
man ld
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP