Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi
I want to know if it is possible to run a solaris application on a PC box , i mean solaris8/intel or solaris9/intel, if no why in the documentation found on the sun web site, they specify that solaris/intel and /sparc have the same system interfaces ?
a little more details would help. What application?, was it compiled for sparc or intel?
A program that is compiled on Sparc will not run on Intel, however if the source is available, then you should be able to compile the same source on Intel without any changes.
Hi
My application runs actually on a sparc server , i have also the binarie , i don`t know if i can install it on a pc , it is probably compiled for sparc and the source code is not available !
This what i found in a sun web site :" (9.22) 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.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
If you only have a binary that is compiled for a SPARC, then it won't
run on an X86 machine. Once a program has been compiled, it is
no longer portable, even if the source code was.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.