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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-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

Browse pgsql-cygwin by date

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

Browse pgsql-patches by date

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