当前位置: 技术问答>linux和unix
高手请指教;关于gcc的编译参数 -msoft-float 的问题
来源: 互联网 发布时间:2014-12-15
本文导语: 我现在我机上(redhat 7.2,p4 芯片) 用软件进行浮点运算,但是我编译的时候 带了参数-msoft-float -lm,浮点运算却通不过,请各位高手指教该如何改正? | -msoft-float Generate o...
我现在我机上(redhat 7.2,p4 芯片) 用软件进行浮点运算,但是我编译的时候
带了参数-msoft-float -lm,浮点运算却通不过,请各位高手指教该如何改正?
带了参数-msoft-float -lm,浮点运算却通不过,请各位高手指教该如何改正?
|
-msoft-float
Generate output containing library calls for floating point. Warning: there
is no GNU floating-point library for SPARC. Normally the facilities of the
machine's usual C compiler are used, but this cannot be done directly in
cross-compilation. You must make your own arrangements to provide suitable
library functions for cross-compilation.
-msoft-float changes the calling convention in the output file; therefore,
it is only useful if you compile all of a program with this option.
Generate output containing library calls for floating point. Warning: there
is no GNU floating-point library for SPARC. Normally the facilities of the
machine's usual C compiler are used, but this cannot be done directly in
cross-compilation. You must make your own arrangements to provide suitable
library functions for cross-compilation.
-msoft-float changes the calling convention in the output file; therefore,
it is only useful if you compile all of a program with this option.
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。