I have now been able to compile the backend using the Mingw/Msys
environment under Windows XP!  I used the PeerDirect Win32 patch, and
SRA's patch.  The MinGW environment is very easy to use and powerful. 
It has gmake, bash, sed, and gcc, among other things.

It doesn't link because I am missing some functions, but it runs
configure and compiles with warnings.  Output at:

	http://momjian.postgresql.org/cgi-bin/pgpatches/win32.log

My two big remaining items are fork/exec, which Jan should complete
this week, and signals.  I will ask Jan for help on this too.

The changes are minimal, about a 2k diff.  I will post the patch to
patches once I review it.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Wed, 14 May 2003 23:09:32 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Win32, compiles, under, MinGW/Msys!
On Wed, May 14, 2003 at 11:09:32PM -0400, Bruce Momjian wrote:
> 
> It doesn't link because I am missing some functions, but it runs
> configure and compiles with warnings.  Output at:
> 
> 	http://momjian.postgresql.org/cgi-bin/pgpatches/win32.log

Are you sure that's the right url?  I get to the unapplied
patches page.


Kurt


Thu, 15 May 2003 21:34:31 +0200
Kurt Roeckx <Q@ping.be>
Re: Win32, compiles, under, MinGW/Msys!
Kurt Roeckx wrote:
> On Wed, May 14, 2003 at 11:09:32PM -0400, Bruce Momjian wrote:
> > 
> > It doesn't link because I am missing some functions, but it runs
> > configure and compiles with warnings.  Output at:
> > 
> > 	http://momjian.postgresql.org/cgi-bin/pgpatches/win32.log
> 
> Are you sure that's the right url?  I get to the unapplied
> patches page.

Oops, it is:

	ftp://candle.pha.pa.us/pub/postgresql/mypatches/win32.log
	
Sorry.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Thu, 15 May 2003 16:13:31 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Win32, compiles, under, MinGW/Msys!