linux 下xlc编译,AIX 5.3(ld-xlc)等效选项Linux(ld-gcc)-rpath

我的第一个答案是:该链接器的AIX链接器选项是-blibpath.

(如果有任何帮助,对于Sun编译器,它是-R.以防万一!)

我现在编辑它以回应OP的评论:你是对的.实际上,阅读AIX链接器手册(man ld)看起来像-L是正确的选择!

-LDirectory

Adds Directory to the list of search directories used for finding

libraries designated by the -l (lowercase letter L) flag. The list

of directories, including the standard library directories, is

also recorded in the output object file loader section for use by

the system loader unless you use the -blibpath, -bnolibpath, or

-bsvr4 option. You can repeat this flag.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值