On Sun, 27 Apr 2008 17:10:50 +1200 Ian Collins <[EMAIL PROTECTED]> wrote:
> Michael B Allen wrote: > > Hi All, > > > > I have a product that currently only runs on Linux and FreeBSD but I'd like > > to port it to Solaris. > > > > My question is - if I compiled the code on OpenSolaris, would the resulting > > binaries be portable across other Solaris systems? > > > > > No. It might, but the chances of using something that's new to > OpenSolaris are non-zero. The rule on (Open)Solaris is stick with the > public APIs and build and test on the oldest version you wish to > support. Note most of the Blastwave packages are built on Solaris 8 and > they work on 8,9,10 and OpenSolaris. > > > Ideally, I would like to use VMWare Server if possible as opposed to buying > > some old hardware on Ebay. > > > Nothing wrong with that, or you could use Virtual Box on OpenSolaris. > > Also, is there an architecture that is clearly dominating among Sparc, > > x86_64 and i386 or must I do all three? > > > > > If you want to sell to the (Open)Solaris market, pick a base OS release > (probably Solaris 8 or 10, depending on whether you want 64 bit support > on x86) and build Sparc and x86 versions. Hi Ian, Ok, so it sounds like I want Solaris 8 on i386 and x86_64 which will run on 8, 9, 10 and OpenSolaris? And then maybe later on I can buy an old SPARC workstation on Ebay. But is there any way for a "civillian" to download Solaris 8 and Sun Studio for free? I assume Solaris 8 runs on both x86_64 and i386? Or do I have to use 10 to get x86_64 (for example)? Is there a VM that runs on Linux that supports Solaris 8? I see the version of VMWare Server I'm using does not. Or perhaps I should buy a cheapo PC to run Solaris 8 to get x86_64 and then use "Virtual Box" to get Solaris i386? Actually I should clarify that the product in question is an Apache module linked with a largish shared lib. So, for example, I cannot use i386 binaries with an x86_64 Apache. I'll need at least two installs of Solaris 8, one i386 and one x86_64. Also, does Solaris do symbol versioning? My shared lib has it's own Kerberos and LDAP implementations so I need to use versioning (e.g. -Wl,--version-script=export.ld with gcc) to keep things from colliding. Mike _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org