[NTLUG:Discuss] OT: Porting Question

dmyhand610 dmyhand at cox-internet.com
Sat Aug 14 12:54:11 CDT 2004


David White wrote:

> > I apologize for the off topic post, but what would be a good 
> resource for learning how to port programs from one OS to another?  
> Thanks, Dennis in Victoria
>
> This is a very general question and I don't think there'd be a single 
> resource that'd provide useful answers. There are a number of factors 
> to consider:
>
> - What are the OSes? How similiar are they? Porting from Linux to 
> FreeBSD is alot easier than porting from Linux to PalmOS.
> - What language(s) is the program written in? How good is the language 
> support on the target platforms? If the program is written in a fairly 
> high-level, portable language like Python, and it is available on the 
> target platform then it will likely be very easy to port. If it's 
> written in a language that is not well-supported on the target system, 
> or a low-level language, then it may be very difficult to port.
> - Does the program use platform-specific features? Use of threading 
> and windowing libraries in particular can affect the portability of 
> the program.
>
> The best resources you could probably find on this would be resources 
> on the platform that is the target of the port.
>
> David
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
I realize now I should have given a good bit more information.  I am 
wanting to take a program written in C, and built to run on x86 Linux, 
and port it to Windows/NT/2000, in the C language.  I am wanting to, 
eventually, be able to go from Windows to Linux, but in this particular 
instance I need to go from Linux to Windows.  Thanks, Dennis




More information about the Discuss mailing list