Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] MinGW patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>,PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [PATCHES] MinGW patch
Date: 2003-09-07 15:30:26
Message-ID: 200309071530.h87FUQT04888@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-hackers-win32pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian writes:
> 
> > Oh.  Any ideas on how to handle that?  The other reference uses:
> >
> > 	override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
> >
> > but top_srcdir isn't defined at this point.
> 
> If you put this in the port makefile, then it should work.

The problem is that the 'configure' doesn't find the include files
during its tests.

> > This is there only so 'configure' sees those include files.  Does that
> > relate to building outside the tree?
> 
> Why does configure need to see those files?  Surely you don't need
> configure to test the capabilities of our own source tree?

As Tom mentioned, it doesn't find things like sys/socket.h, which we
have added to src/include/port/win32/.  This was done to elimintate
#ifdef of the include files that are Win32-specific.

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

In response to

Responses

pgsql-cygwin by date

Next:From: Bruce MomjianDate: 2003-09-07 15:40:14
Subject: Re: [PATCHES] MinGW patch
Previous:From: Tom LaneDate: 2003-09-07 13:58:23
Subject: Re: [PATCHES] MinGW patch

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-09-07 15:40:14
Subject: Re: [PATCHES] MinGW patch
Previous:From: Tom LaneDate: 2003-09-07 14:19:07
Subject: Re: Minor lmgr code cleanup

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2003-09-07 15:40:14
Subject: Re: [PATCHES] MinGW patch
Previous:From: Tom LaneDate: 2003-09-07 13:58:23
Subject: Re: [PATCHES] MinGW patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group