Re: [HACKERS] Win32 native port

From: Jason Tishler <jason(at)tishler(dot)net>
To: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Win32 native port
Date: 2003-09-12 14:47:47
Message-ID: 20030912144747.GA1840@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

On Fri, Sep 12, 2003 at 08:57:16AM -0400, Merlin Moncure wrote:
> Here: http://unxutils.sourceforge.net/ are ports of several unix
> utility programs (including bison and flex) for win32. From my
> experiences compiling the Peer Direct port, this is the easiest way to
> get started.

OK, I'll throw my hat in the ring... :,)

I recommend using Cygwin in -mno-cygwin (aka Mingw) mode for the
following reasons:

1. Using Cygwin gcc -mno-cygwin mode produces native Win32
applications (i.e., do not depending on the Cygwin DLL)
that are not affected by the Cygwin license.

2. Using Cygwin as the Win32 build environment will facilitate
keeping the Unix and Win32 build environments as similar as
possible. For example:

a. Posix path can be used for both environments
b. symlinks can be used for both environments

3. Cygwin provides all the necessary tools (e.g., bison and flex).

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-12 14:49:32 Re: [PATCHES] Reorganization of spinlock defines
Previous Message Bruce Momjian 2003-09-12 14:46:06 Re: [PATCHES] Reorganization of spinlock defines

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2003-09-12 16:11:27 Re: [PATCHES] WIN32_CONSOLE usage
Previous Message Zeugswetter Andreas SB SD 2003-09-12 13:10:34 Re: [HACKERS] Win32 native port