On Tue, Apr 24, 2001, Daniel Marquez-Klaka wrote:
> Hiya,
> 
> maybe off topic ....
> 
> i'm writing some progie's under linux, in C using gcc, of cause.
> Now i need to convert them to run under windows.
> 
> My question is if there is a gcc port to windows or does anyone know
> about a free windows compiler that easy compiles ANSI C created under
> linux.
> 
> Daniel
> 

Daniel,

There's a gcc port to windows, but you might not need to use it.  You
want to investigate what's known as cross-compiling --- compiling for
one architecture while using a compiler (and code) written on another
architecture.  You might run into problems if certain function calls
(like some from systime.h for example) are implemented differently on
the architecture for which you're cross-compiling (in your case,
win32).  I assume a google search should give more info.  Or else the
book _Programming with Gnu Software_ by O'reilly.

Hope this helps,

Daniel


-- 
Daniel A. Freedman
Laboratory for Atomic and Solid State Physics
Department of Physics
Cornell University

Reply via email to