I've looked at a few sources on how to go about cross-compiling, and from what I understand, I need the header files for the system I am compiling for.
Some background info: The school I am a student at has student Solaris accounts, which run the SPARC architecture. I have the x86 Solaris installed on a virtual machine now, but I can't figure out how to get SPARC header files. My goal is to be able to compile binaries on my VM such as nano that I can put on my student account.
I do need the header files from SPARC Solaris, right? Or will it work with the x86 Solaris I have on my VM? If I do need them, is it possible to extract them from the SPARC installation iso?
Sorry if it's something obvious, I'm new to Solaris and cross-compilation.