[Discussion] Watcom Compiler

Dave Yeo daveryeo at telus.net
Sun Jan 17 17:54:26 PST 2010


On Sun, 17 Jan 2010 17:18:18 -0500 (EST), Brian Grawburg wrote:

>I'm going to teach myself C++ and use the Open Watcom compiler.  Can code I write in OS/2 also be compiled in the Watcom WIndows 
>compiler?  That is, if I write a program in OS/2 and compile it, then copy the code to a Windows machine and compile it again, will it 
>work?  My ultimate goal is to write C++ code for robotic applications which will, I'm sorry to say, use WIndows.

Sure, OpenWatcom also supports cross-compiling as well so you can
compile your Windows code on OS/2 and just copy the binary over. If
using the IDE you just have to pick the target at the beginning.
Dave




More information about the Discussion mailing list