From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: Finding zlib on MinGW |
Date: | 2004-07-12 13:30:25 |
Message-ID: | 200407121330.i6CDUPd03450@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
Merlin Moncure wrote:
> > If zlib was installed as part of mingw automatically, then we should
> > look in there by default, but if folks are installing mingw, I think
> > they would then know to point to that directory to find it. If we
> > automatically look, we might find other stuff we shouldn't, no?
> >
> > Let's see if others have this issue and if they do we can add such a
> > search path for Win32.
>
> The mingw environment is a little quriky. It by default drops all user
> compiled libraries in /local/lib, where all the standard libs are in
> /mingw/lib, where postgresql currently looks.
>
> I find it easier just to configure the libraries like zlib to put their
> stuff in the mingw folder. In lieu of making changes, I'd be happy to
> write a compiling guide for win32 users who are unfamiliar with the
> win32 environment.
Is there any downside to adding /usr/local/lib and /usr/local/include
for mingw? Those paths are searches by default on unix gcc. Why isn't
that happening with mingw gcc?
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2004-07-12 13:44:06 | Re: Finding zlib on MinGW |
Previous Message | Merlin Moncure | 2004-07-12 12:56:51 | Re: Finding zlib on MinGW |