From owner-freebsd-questions Tue Jun 4 7: 0:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from otter.mills-atl.com (dsl-64-192-140-77.telocity.com [64.192.140.77]) by hub.freebsd.org (Postfix) with ESMTP id AF02637B403 for ; Tue, 4 Jun 2002 07:00:34 -0700 (PDT) Received: from localhost (jmills@localhost) by otter.mills-atl.com (8.9.3/8.9.3) with ESMTP id KAA05453; Tue, 4 Jun 2002 10:03:01 -0400 X-Authentication-Warning: otter.mills-atl.com: jmills owned process doing -bs Date: Tue, 4 Jun 2002 10:03:01 -0400 (EDT) From: John Mills X-Sender: jmills@otter.mills-atl.com Reply-To: John Mills To: Gautham Ganapathy Cc: Alex , "FreeBSD.org - Questions" Subject: RE: Windows EXE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello - 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). 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. I never tried this - I would take the question to the 'gcc' or 'egcs' mailing lists. Let us know what you find. - John Mills To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message