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

Re: Makefiles for building with mingw32 on win32

From: Gerhard Häring <haering_python(at)gmx(dot)de>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: Makefiles for building with mingw32 on win32
Date: 2001-09-24 04:23:42
Message-ID: 20010924062342.A604@lilith.hqd-internal (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-patches
On Thu, Sep 06, 2001 at 03:29:15PM +0200, Peter Eisentraut wrote:
> [...] 
> mingw32 is the "minimal GNU environment for Win32" -- sort of like Cygwin
> ultra-light.  As a consequence it should work to run configure on it.  In
> fact, we already have
> 
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> 
> So I'd be interested to know what happens when you do try it.

"C compiler cannot create executables."

I'll try to sort this out. The current configure script doesn't know anything
about mingw32. It doesn't add the "-mno-cygwin" option and it still tries to
link against libcrypt and libcygipc.  I'll try to sort this out on the
pgsql-cygwin list, to which now, I finally managed to subscribe. I'll also try
not to swear too loud about autoconf.

> Also, what would be the advantage of the mingw32 specific makefiles that
> you sent,

That's simple: they build native win32 libraries with zero euros worth of
tools.

>versus just using the win32 native ones that we already have?

These only work with M$ Visual C++ and are in a proprietary Makefile format
that works with no other compiler than M$'s.

Later,

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))

In response to

Responses

pgsql-cygwin by date

Next:From: Gerhard HäringDate: 2001-09-24 04:31:55
Subject: Re: [PATCHES] Makefiles for building with mingw32 on win32
Previous:From: Jason TishlerDate: 2001-09-24 02:34:49
Subject: Re: Cannot rename init file

pgsql-patches by date

Next:From: Gerhard HäringDate: 2001-09-24 04:31:55
Subject: Re: [PATCHES] Makefiles for building with mingw32 on win32
Previous:From: Serguei MokhovDate: 2001-09-24 04:18:52
Subject: NLS for POSTGRESQL (Russian)

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