what is the g++ option to build ia64 binaries
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.)
精彩评论