Re: Open Source C (maybe ++ type) compiler for both Linux an…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bart Garst
Date:  
To: PLUG Discuss
Subject: Re: Open Source C (maybe ++ type) compiler for both Linux and Windows
On Thu, 2004-03-18 at 12:28, George Gambill wrote:
> Thanks for all the responses. I think you have given me the answer I am looking however, let me explain a bit deeper.
>
> Many years ago (before Visual C, etc.), is was my understanding that code written for Microsoft C compilers was not guaranteed to run on Borland's C compilers (and vise versa).
>
> This is the main issue. I am looking for one (for both) or two (one each Linux and MS) compiler(s) that are reasonably certain to respect the others source code.
>


I've found that mingw & cygwin (both are windows versions of gcc) are
pretty happy compiling code originally designed to compile with gcc
(linux).

Both cygwin & mingw are free.

(Cygwin is more of a collection of *nix tools that work on windows.)

I should also mention that both mingw & cygwin are/use 'minimal' ports
of gcc. That means fancy things, like wide characters, don't work. If
you keep it simple you should be fine.

Bart


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss