avatar
j*t
1
.so文件是怎么用的? 下面是我的make过程显示:
CC -O3 -64 -mips4 -I../include Driver.o Setup.o -lm -lcomplib.sgimath
-lcomplex -lmf1 -L../ -lmetis -L../lib/ -o mf1.out
ld64: WARNING 84 : /usr/lib64/mips4/libm.so is not used for resolving
any symbol.
这个警告错误是怎么回事? 怎么解决?
另外一个问题:
程序用32位编译还好好的,换成64位编译后,一个不为零的double却变成零了.怎
么回事?
谢谢!
avatar
c*t
2
For the first question, don't worry about it. Nothing wrong. You just
specified a unnessary library (w/ -lm flag) which was not used.
About your second question, you can run dbx to trace your program,
but you cannot use -O3 and must use -g flag to compile your program.

【在 j**t 的大作中提到】
: .so文件是怎么用的? 下面是我的make过程显示:
: CC -O3 -64 -mips4 -I../include Driver.o Setup.o -lm -lcomplib.sgimath
: -lcomplex -lmf1 -L../ -lmetis -L../lib/ -o mf1.out
: ld64: WARNING 84 : /usr/lib64/mips4/libm.so is not used for resolving
: any symbol.
: 这个警告错误是怎么回事? 怎么解决?
: 另外一个问题:
: 程序用32位编译还好好的,换成64位编译后,一个不为零的double却变成零了.怎
: 么回事?
: 谢谢!

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。