문제

In linux, gcc reports unresolved symbols if there is any. How should I use ld to generate such information in aix?

도움이 되었습니까?

해결책

ld on AIX reports unresolved symbols by default.

Are you using the -brtl option when linking? In that case, you are requesting that the linking occurs at runtime (runtime linking), and therefore ld will not report any unresolved symbols as it is assumed any unresolved symbols will be provided in libraries used when the program is run. (Any unresolved symbols will be reported when one attempts to run the program.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top