Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


Search this Thread
Old 03-02-2012, 08:19 PM   #1
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
Arrow What is the hardest part of porting a application to windows?

I am assuming that the app uses/has the following things:
Uses ether no GUI or uses a Cross-Platform one
Isn't An Interpeted Or Arch-Independant Languige (Python, Java)
Doesn't Have Anything That Would upset The Normal-GCC to MinGW Divide.

If The Above Requirements Are Met, What Would Be Needed To Port It To Windows?
Old 03-02-2012, 10:27 PM   #2
Registered: May 2009
Location: Fort Langley BC
Distribution: Ubuntu 11, Arch, / Gnome 3.X, OSX,Windows
Posts: 172

Rep: Reputation: 36
Q. What is the hardest part of porting a application to windows?

A. Using windows
1 members found this post helpful.
Old 03-03-2012, 03:17 AM   #3
Registered: Dec 2010
Posts: 264

Rep: Reputation: 23
Never Tried It

Never tried it, but if I were to venture a guess... I'd say the libraries, and subsequently every single library function in the code.

Very `standard' example: libc and glibc.

Last edited by cin_; 03-03-2012 at 03:23 AM. Reason: gramm`err
Old 03-03-2012, 11:53 AM   #4
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,631

Rep: Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429Reputation: 1429
Just setting up the build environment can be very challenging, if the application is designed to be built on *nix. For example, here are the steps to build FileZilla on Windows:
Old 03-03-2012, 12:03 PM   #5
Registered: Mar 2008
Posts: 11,380

Rep: Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395Reputation: 1395
Kind of a vague question.

For example. If we say it is a text based program and it is posix one may not need to port it at all. One may only need to add in posix support for windows. If it is a cross platform maybe like qt then that may be a bit easier.

Some of the programs like firefox, filezilla may be an example of cross platform creation. The basic fabric of the design is based on the need to cross platform the app. They stay away from tools and librarys that don't have an equal. Some apps will never be easily ported between OS's.

Java was the big write once run anywhere windows killer.


porting, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tux meets Amiga, part 2: Porting AmiKit to Linux LXer Syndicated Linux News 0 03-23-2008 08:40 AM
Porting application for windows mouse-click and keyboard sends to linux stevthomsen Linux - General 0 03-11-2008 03:07 PM
Porting COM application to Linux gnraghu Programming 1 10-05-2006 10:55 PM
Porting 32 bit application kars_jk Programming 1 01-24-2006 11:39 PM
Game porting question , please take part jamaso General 11 03-06-2003 01:11 PM

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration