Re: Porting to Solaris
From: Thomas Maier-Komor (maierkom_at_lpr.e-technik.tu-muenchen.de)
Date: 10/07/05
- Next message: Mark Rafn: "Re: Porting to Solaris"
- Previous message: Henry Townsend: "Re: Porting to Solaris"
- In reply to: Henry Townsend: "Re: Porting to Solaris"
- Next in thread: Pascal Bourguignon: "Re: Porting to Solaris"
- Reply: Pascal Bourguignon: "Re: Porting to Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Mark Rafn: "Re: Porting to Solaris"
- Previous message: Henry Townsend: "Re: Porting to Solaris"
- In reply to: Henry Townsend: "Re: Porting to Solaris"
- Next in thread: Pascal Bourguignon: "Re: Porting to Solaris"
- Reply: Pascal Bourguignon: "Re: Porting to Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|