can MinGW compile for Linux?

Robert Roebling robert at roebling.de
Fri Sep 14 02:52:20 PDT 2007


wells_br at yahoo.com wrote:

> RR wrote:

> > > What I would like, is to compile the same source, making
> > > w32api calls, FOR Linux. Is this impossible?
> >
> > The WINE project aims at doing that for years
> 
> No, it isn't. Wine emulates API calls, but compiles nothing.

Although you elegantly try to combine unfriendliness with
cluelessness: libWINE lets you use the Windows API under Linux
(which you asked for) and you can use GCC to *compile* an
application for it. WINE exists as both an "app" which
can be used to run genuine Windows programs as well as
a library used for porting apps to Linux (such as Google's
port of Picasa to Linux, I think).

Now if WINE has less "overhead" than wxWidgets is for others
to answer. I don't think there is a cross-compiler that let's
you compile on Windows and produce binaries for Linux.

  Robert






More information about the wx-users mailing list