Porting to Linux.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Porting to Linux.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Porting to Linux.  
Raghavendra


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 08:33 AM

Hi All,

I have one  big system application, which is developed for HPUX and
Windows in C-language. I need to port it to Linux.
What all things do I need to consider to do this. Can you please
provide any information or any links to websites? I have searched
google, I couldn't find much information on this.

Thanks for the help,

ragards,
raghavendra.





[ Post a follow-up to this message ]



    Re: Porting to Linux.  
Richard Heathfield


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 10:33 AM

In comp.lang.c, Raghavendra wrote:

> Hi All,
>
> I have one  big system application, which is developed for HPUX and
> Windows in C-language. I need to port it to Linux.
> What all things do I need to consider to do this. Can you please
> provide any information or any links to websites? I have searched
> google, I couldn't find much information on this.

If you wrote it in C, just recompile on the new platform. Job done. C is
platform-independent.

If you used extensions to the language, then porting those will involve
finding out which extensions were used, and whether a local equivalent
exists on the new platform, and then rewriting as appropriate. Such
extensions are off-topic in comp.lang.c, however.

To avoid porting headaches in future: if you must use platform extensions,
at least try to isolate their use into separate modules, so that only those
modules need be replaced when you move from one platform to another.

--
Richard Heathfield : binary@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton





[ Post a follow-up to this message ]



    Re: Porting to Linux.  
Derk Gwen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 01:33 PM

raghavendra.dhayapule@wipro.com (Raghavendra) wrote:
# Hi All,
#
# I have one  big system application, which is developed for HPUX and
# Windows in C-language. I need to port it to Linux.
# What all things do I need to consider to do this. Can you please
# provide any information or any links to websites? I have searched
# google, I couldn't find much information on this.

Give me the contract for the port, and you won't have to worry about
it anymore.

--
Derk Gwen http://derkgwen.250free.com/html/index.html
Haven't you ever heard the customer is always right?





[ Post a follow-up to this message ]



    Re: Porting to Linux.  
Kasper Dupont


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-06-04 04:34 PM

Raghavendra wrote:
>
> Hi All,
>
> I have one  big system application, which is developed for HPUX and
> Windows in C-language. I need to port it to Linux.
> What all things do I need to consider to do this. Can you please
> provide any information or any links to websites? I have searched
> google, I couldn't find much information on this.

Just try to compile it on Linux exactly the way you
would have done on HPUX. There might be a few problems
you need to solve before it will work, but exactly
how many and which depends on your application.

--
Kasper Dupont -- der bruger for meget tid paa usenet.
For sending spam use mailto:aaarep@daimi.au.dk
/* Would you like fries with that? */





[ Post a follow-up to this message ]



    Re: Porting to Linux.  
Duke Robillard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-04 09:41 PM

Richard Heathfield wrote:
> In comp.lang.c, Raghavendra wrote:
> 
>
> If you wrote it in C, just recompile on the new platform. Job done. C is
> platform-independent.

Bwahahahahahaha!

:-)

Duke






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:06 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register