Ask the Expert

What tools can I use to simplify porting apps from Windows to Linux?

What's the hardest thing about porting applications from Windows to Linux? What open source tools (like compilers) do you use when porting applications to Linux? Are any of them universal? Can they be used any time you're porting an application?

    Requires Free Membership to View

In general, the most difficult thing when porting applications from Windows to Linux is porting the GUI code. There are free as well as commercial cross-platform GUI libraries which make this manageable.

The most common tools used when porting applications to Linux, or more accurately, GNU/Linux, are GCC (GNU Compiler Collection) C, C++ compilers, binutils (the assembler, linker and other object file utilities) and the gdb debugger.

These tools are available on most popular operating systems and can be used for porting almost any C or C++ application. GCC can also be used for porting applications developed using other languages like Java, Objective-C and Ada.

There is not much difference between the various Linux distributions in terms of ease of porting as far as tools are concerned. The larger distributions tend to pack together more features and may make it easier to get a particular library required to complete the port.

How long a particular release is supported by the vendor and quality and price of support for the GNU tools is a lot more important and should be considered when selecting a distribution of Linux.

This was first published in January 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: