Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jun 2002 17:33:06 +0200
From:      Benedikt Schmidt <ry102@rz.uni-karlsruhe.de>
To:        John Mills <john.m.mills@alum.mit.edu>
Cc:        Gautham Ganapathy <gauthamg123list@myrealbox.com>, Alex <freebsd-reply@akruijff.dds.nl>, "FreeBSD.org - Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Windows EXE
Message-ID:  <20020604153306.2624.qmail@wn4-marvin.wn4.uni-karlsruhe.de>
In-Reply-To: <Pine.LNX.4.21.0206040955230.5405-100000@otter.mills-atl.com> (John Mills's message of "Tue, 4 Jun 2002 10:03:01 -0400 (EDT)")
References:  <Pine.LNX.4.21.0206040955230.5405-100000@otter.mills-atl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John Mills <jmmills@telocity.com> writes:
> On Tue, 4 Jun 2002, Gautham Ganapathy wrote:
>
>> > CJU> Is there any way to compile Windows executable files in BSD?
>
> _If_ this means compiling an *.exe in FreeBSD and running it on a MsWin32
> machine (is that what you meant??), I suppose that means a cross-gcc with
> an appropriate set of header files, but I never tried to set up such a
> beast.
>
>> I think there is a compiler in the ports for compiling Win32 executables
>> under fbsd. mingw32, i think
>
> Not quite - my understanding of 'mingw32' is that it provides ports of the
> principal 'gcc' tools to run natively in MsWin32 (in contrast to running
> 'gcc' tools built for Cygwin, in Cygwin over MsWin32).

Mingw is a port of the GNU toolchain to windows that does not rely on
3rd party dlls (like cygwin). But the mingw port for FreeBSD provides
an environment for compiling code targetting win32 by using mingw headers
and libraries.

> If you want to run in a *nix environment and target MsWin32, I would try
> to build that type of cross-gcc, and drag in header files as they were
> found to be needed.

Or just install devel/mingw-gcc.

(devel/mingw-gcc )% cat pkg-comment
FSF gcc-2.95.2 for Windows cross-development

-- 
Regards, Benedikt

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604153306.2624.qmail>