sledge_hmr
01-31-2002, 11:42 AM
Can software written for Unix run on Linux? Can software written for Sun Solaris run on Linux?
|
Click to See Complete Forum and Search --> : Unix vs Linux sledge_hmr 01-31-2002, 11:42 AM Can software written for Unix run on Linux? Can software written for Sun Solaris run on Linux? Shadoglare 01-31-2002, 12:07 PM For the most part no, there's enough of a difference in the code of most programs to keep programs written for Solaris to run on Linux and vice-versa - there are several exceptions, such as programs that weren't specifically for either and will compile on either one, but for the most part they won't share. Going the other way around though, Sun has a "translater" program you can run on Solaris that will allegedly allow it to run Linux programs. Keyser Soze 01-31-2002, 03:01 PM It does a fair job, but it's like running anything in emulation, drags a bit. element-x 01-31-2002, 08:55 PM To tell you the truth, anything I've ever seen written say...strictly for FreeBSD (As unix as I've gotten at home), has run just fine on my linux machine. I can't say the same for the other way around. sledge_hmr 01-31-2002, 11:52 PM what is kind of UNIX is HP-UX? sans-hubris 02-01-2002, 12:09 AM Originally posted by Shadoglare: <STRONG>For the most part no, there's enough of a difference in the code of most programs to keep programs written for Solaris to run on Linux and vice-versa - there are several exceptions, such as programs that weren't specifically for either and will compile on either one, but for the most part they won't share. Going the other way around though, Sun has a "translater" program you can run on Solaris that will allegedly allow it to run Linux programs.</STRONG> Your answer is a little truncated. If you have the source code to the Unix software you want to use, then the answer to whether or not it will run under Linux is: maybe. Linux is largely POSIX complient, but I'm not sure that it's fully POSIX complient. If the source code sticks to POSIX standards, then it will likely compile and run. If it caters towards a certain UNIX, you'll have some work ahead of you to get it to run under Linux. It's easier to port a program that was meant to run under UNIX to Linux than it is to port it to Windows. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |