Cross compiler
Does Sun C++ compiler support cross compilation? I need to compiler for Solaris9-Sparc target on Solaris10-x86 machine (or vice versa). Currently we have a build "farm" where every computer builds sources for one particular platform and this is not convenient.
Thank you in advance.
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"
# 1
Sun does not currently provide cross-compiling for different architectures. To generate code for x86/x64, you need to use an x86/x64 machine. To generate code for sparc, you need to use a sparc machine.
# 2
Thank you for answer. Is there any plans to add cross compilation in the future releases? Where can I vote for this feature?
I'm requsting this feature because it's really not convenient to have a build farm just for compilation. For example, GCC from http://gcc.gnu.org can cross compile between Solaris targets :) (and Apple's compiler also can produce binaries for PPC and Intel architectures. It's really sweet)
Best regards,
Vladimir Kondratyev
YourKit, LLC
http://www.yourkit.com
"Don't get lost in data, get information!"