Re: Porting to Solaris

From: Thomas Maier-Komor (maierkom_at_lpr.e-technik.tu-muenchen.de)
Date: 10/07/05


Date: Fri, 07 Oct 2005 20:47:48 +0200

Henry Townsend schrieb:
> Pascal Bourguignon wrote:
>
>> prabhu.pravin@gmail.com writes:
>>
>>> Hi i have an application in NCR Unix which communicates with a machine
>>> which supplies image data. I wanted to know whether i will have to
>>> change some code or the already compiled code will work if i port my
>>> application to Solaris. I dont have the Solaris machine right now at my
>>> disposal otherwise i would have tried it right away. Any one who has
>>> done the same ( more or less) , please tell me how it went, what are
>>> the problems (if any) i would face .
>>
>>
>>
>> Most probably, you'll have to at least recompile the sources. If the
>> application has not been developed portably, you'll have to modify
>> them too. Usually, it's rather easy to do, there are not much
>> difference between two unix.
>
>
> Probably the most time-efficient thing to do is to find a Linux box (no
> excuses there, you can always find or install some flavor of Linux) and
> start porting it there right away. Anything that's portable from a unix
> variant to Linux will very likely be portable to Solaris as well, and
> you'll end up doing 85% of the work in the Linux phase. In other words,
> 85% of porting work is in the first port - making the code portable -
> and the rest is typically a matter of running the compiler and fixing
> whatever warnings it coughs up.
>
> HT

why bother with porting to linux if the main target is Solaris. It isn't
more difficult to install Solaris on a PC than it is to install Linux.
Just go to http://www.sun.com/software/solaris/get.jsp, download the iso
images, burn them and install it.

Then learn a little bit about the tools on Solaris (dtrace, truss,
apptrace, libumem, ...) and available for Solaris (Sun Studio 10, ...)
and you will find out that porting to Solaris is easiest on Solaris. And
IMHO developing for any generic UNIX target is easiest on Solaris, too.
Linux can't match Solaris concerning portability and compability to
standards - it isn't even compatible to itself (learnt it myself the
hard way)...

And Solaris is FREE, too.

Tom



Relevant Pages

  • Re: Has anyone attempted a recent kernel build on Sparc or Power ?
    ... I was not able to install on a Tadpole Cycle U60 (like UltraSPARC ... You mean "re-port" the new Linux kernel to SPARC one more time? ... Then port the granddaddy glibc library for all GNU tools? ... > to build anything within a Solaris zone. ...
    (comp.os.linux.misc)
  • Re: bad news
    ... OS/2 install that is bootable but will not set active, ... maybe Solaris or Open Solaris, ... Pronews, and I prefer Impos/2 and PMView over Linux offerings, even gimp. ...
    (comp.os.os2.apps)
  • Re: Solaris 10u3 jumpstart fails with 38e00
    ... Boot device: sec-disk File and args: ... ok boot net - install ... tftpboot entries as the Linux tutorials. ... Theres a error in the dmesg on the solaris vm machine about how vmnet ...
    (comp.unix.solaris)
  • Re: Solaris 9 and Linux on same Hard Disk
    ... > How do I install Linux and Solaris on the same HD? ... I was wondering if marking my Linux partitions as DOS would ... advanced options for dealing with the target partition - the default ...
    (comp.unix.solaris)
  • Re: Installing Solaris 9 on x86
    ... > The problem is that I want to install Solaris without loosing my Linux ... I know of the Swap partition ...
    (comp.unix.solaris)