Unable to cross-compile to SPARC using clang
问题 So here's the situation: I need to be able to compile binaries from a Linux machine (on Ubuntu, for what it's worth) which are able to run from a SPARC server. The program I'm trying to compile is very simple: #include <stdio.h> #include <stdlib.h> int main() { printf("Testing the SPARC program..."); return EXIT_SUCCESS; } I've tried a number of different compile lines to get it to work, but unfortunately nothing appears to be working. I tried the traditional: clang -target sparc blah.c -o