Cygwin requires a license for commercial use.

> -----Original Message-----
> From: Peter Eisentraut [mailto:peter_e@gmx.net] 
> Sent: Thursday, September 04, 2003 10:20 AM
> To: Joerg Hessdoerfer
> Cc: Bruce Momjian; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Win32 native port
> 
> 
> Joerg Hessdoerfer writes:
> 
> > I'm currently in the process of setting up my development 
> environment 
> > (how the heck do I get bison/flex to compile under MingW/MSYS? Oh 
> > my...),
> 
> Use the Cygwin tools.
> 
> -- 
> Peter Eisentraut   peter_e@gmx.net
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 

Thu, 4 Sep 2003 11:00:57 -0700
"Dann Corbit" <DCorbit@connx.com>
Re: Win32 native port
"Dann Corbit" <DCorbit@connx.com> writes:

> Cygwin requires a license for commercial use.

"Use" in the sense of distributing applications linked against it,
yes.

In this case I don't think it's a problem.  The output of 'flex' and
'bison' is not required to be GPL (there is a specific exception in
the Bison license for this), and we're not distributing any Cygwin
code, or any binaries linked with it, merely using it to generate
parts of the PG source tree.

-Doug

04 Sep 2003 14:20:53 -0400
Doug McNaught <doug@mcnaught.org>
Re: Win32 native port
Doug McNaught wrote:
> "Dann Corbit" <DCorbit@connx.com> writes:
> 
> > Cygwin requires a license for commercial use.
> 
> "Use" in the sense of distributing applications linked against it,
> yes.
> 
> In this case I don't think it's a problem.  The output of 'flex' and
> 'bison' is not required to be GPL (there is a specific exception in
> the Bison license for this), and we're not distributing any Cygwin
> code, or any binaries linked with it, merely using it to generate
> parts of the PG source tree.

As you can see from the new "Compiling" web page, I just normally
compile under Unix, distclean, then Win32 compile via Samba.

-- 
  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, 4 Sep 2003 14:25:33 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: Win32 native port
On Thu, 4 Sep 2003, Dann Corbit wrote:

> > Use the Cygwin tools.
>
> Cygwin requires a license for commercial use.

It does? I don't see it:

http://cygwin.com/licensing.html

Jon

Thu, 4 Sep 2003 18:35:59 +0000 (UTC)
Jon Jensen <jon@endpoint.com>
Re: Win32 native port
Bruce Momjian writes:

> As you can see from the new "Compiling" web page, I just normally
> compile under Unix, distclean, then Win32 compile via Samba.

That isn't very efficient unless you have two machines or use something
like vmware.

-- 
Peter Eisentraut   peter_e@gmx.net


Thu, 4 Sep 2003 20:49:44 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: Win32 native port
Peter Eisentraut wrote:
> Bruce Momjian writes:
> 
> > As you can see from the new "Compiling" web page, I just normally
> > compile under Unix, distclean, then Win32 compile via Samba.
> 
> That isn't very efficient unless you have two machines or use something
> like vmware.

One quick solution would be to add the bison/flex output files to the
WIN32_DEV CVS tree.  Do people want that?

-- 
  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, 4 Sep 2003 18:17:46 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] Win32 native port
Hi,

On Friday 05 September 2003 00:17, you wrote:
> Peter Eisentraut wrote:
> > Bruce Momjian writes:
> > > As you can see from the new "Compiling" web page, I just normally
> > > compile under Unix, distclean, then Win32 compile via Samba.
> >
> > That isn't very efficient unless you have two machines or use something
> > like vmware.
>
> One quick solution would be to add the bison/flex output files to the
> WIN32_DEV CVS tree.  Do people want that?

Well, another solution would be, as I did (thanks, Hannu!), to download the 
compiled bison for MinGW, and compile current flex using this. This worked 
perfectly for me.

I now have some other probs, mainly with port/thread.c and port.h, using a 
'struct passwd' which I can find no definition for in WIN32. What did you do 
to resolve this?

BTW, I'm running './configure --without-zlib --without-readline' from MSYS, 
which seems fine for me.

Greetings,
	Joerg
-- 
Leading SW developer  - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com


Fri, 5 Sep 2003 09:27:49 +0200
Joerg Hessdoerfer <Joerg.Hessdoerfer@sea-gmbh.com>
Re: [HACKERS] Win32 native port
On Friday 05 September 2003 00:17, Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > Bruce Momjian writes:
> > > As you can see from the new "Compiling" web page, I just normally
> > > compile under Unix, distclean, then Win32 compile via Samba.
> >
> > That isn't very efficient unless you have two machines or use something
> > like vmware.
>
> One quick solution would be to add the bison/flex output files to the
> WIN32_DEV CVS tree.  Do people want that?


Bruce, Is that really necessary ?
See :  
	http://prdownloads.sf.net/mingw/bison-1.875.0-2003.02.10-1.exe
and 
	http://prdownloads.sf.net/mingw/gettext-0.11.5-2003.02.01-1.exe

I have installed bison with success. I'll try to get the WIN branch from CVS 
later today, but I think that there is no reason why it should not work.

Regards !

Fri, 5 Sep 2003 10:56:38 +0200
Darko Prenosil <darko.prenosil@finteh.hr>
Re: [HACKERS] Win32 native port