Will my application from Solaris/SPARC work on Solaris/x86? I have the source.

Will my application from Solaris/SPARC work on Solaris/x86? I have the source.

Yes and no. Generally applications that don't make assumptions about
computer architecture will work. That is, code shouldn't depend on
structure or union alignments, or in what order a number appears in a
word ("big endian" SPARC or "little endian" Intel).
Don't use functions labeled SPARC or x86 only in the man pages.
In other words, "well-behaved" C (or other
language) programs should recompile fine.



Home
FAQ