Q

Compilers that can build binary in both Linux and Windows

I am using the WatCom Compiler to build the binary along with the Visual Studio 2005 IDE in Windows. Can you suggest another compiler that can build the binary in both Linux and Windows?
You don't mention whether or not you use the C/C++ or Fortran compiler, so I'll assume you are using C. First you should be aware that there is work currently being done on Watcom for Linux. This link will give you instructions on how to install Open Watcom on Linux.

Have you looked at gcc, commonly associated with Linux or Unix? The gcw project (GCC for windows) is an attempt to port gcc to Windows. You can also look at installing Cygwin, which would give you a Linux-like environment for Windows. It acts as a Linux API emulation layer.

This was first published in September 2007
This Content Component encountered an error

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close