开发者

what is the g++ option to build ia64 binaries

开发者 https://www.devze.com 2023-01-14 05:17 出处:网络
what is the g+开发者_Python百科+ option to build ia64 binariesYou have GCC configured on and for Solaris/i386. You can\'t build ia64 binaries using this build of GCC.

what is the g+开发者_Python百科+ option to build ia64 binaries


You have GCC configured on and for Solaris/i386. You can't build ia64 binaries using this build of GCC.

Your best bet is to ask for an account on ia64 machine with GCC already installed on it, and build natively on that machine.

If that isn't possible, you must build GCC as a cross-compiler, targeting ia64-gnu-linux or ia64-hp-hpux (both are ia64, which one do you actually need?). See GCC documentation for how to build GCC as a cross-compiler; be prepared for extreme pain.


Try the -mtune option. The default value probably is itanium2 so you will need to change it to itanium1 if you want something else. (This is from GCC 4.5 documentation.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号