[Discussion] Watcom Compiler

Thomas Clayton topcatdrc at yahoo.com
Sun Jan 17 23:19:20 PST 2010


Dave,

You _might_ want to explain "cross-compiling" to Brian (and other  'listeners' who might like to learn a little about "make"ing ;-) programs).

I _do_ remember reading in the BYTE advert.s that Watcom could compile for 16-bit (DOS), 16-bit protected-mode (Win and OS/2), and 32-bit (Win9x and OS/"2").

Also - and this one I'm not sure of - you said "pick the target at the
beginning". Did you mean at [installation] or at [the beginning of a "project(?)"] or at [the beginning of a compilation]?

"Project"s are what Borland calls - IF I remember correctly - all the code that goes together to make an app.. Various portions of which can be reused for other projects - even if they're _not_ "whole objects".


Thomas Clayton


--- On Sun, 1/17/10, Dave Yeo <daveryeo at telus.net> wrote:

> From: Dave Yeo <daveryeo at telus.net>
> Subject: Re: [Discussion] Watcom Compiler
> To: "POSSI Discussion List" <discussion at lists.possi.org>
> Date: Sunday, January 17, 2010, 7:54 PM
> 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
> 
> 
> _______________________________________________
> Discussion mailing list
> Discussion at lists.possi.org
> http://lists.possi.org/mailman/listinfo/discussion
> 


More information about the Discussion mailing list