From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Reini Urban <rurban(at)x-ray(dot)at> |
Cc: | Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org, pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: [HACKERS] src/timezone/pgtz __imp__my_exec_path |
Date: | 2004-10-27 19:13:44 |
Message-ID: | 200410271913.i9RJDic11007@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-hackers |
Reini Urban wrote:
> Magnus Hagander schrieb:
> >>beta4 - cygwin:
> >>postgres.exe fails to build, because __imp__my_exec_path from
> >>src/timezone/pgtz.o cannot be resolved. previously it was not
> >>imported.
> >
> > This could be related to the patch that went in last weekend to fix
> > compiles on Win32. DLLIMPORT was added to the header. If the Makefile
> > did not change, then that is your problem - that patch changed botht he
> > makefile and the header. See
> > http://archives.postgresql.org/pgsql-committers/2004-10/msg00321.php
> >
> > Does CYGWIN perhaps need the same Makefile patch?
>
> You only patched your Makefile.win32, not Makefile.cygwin. That's it. It
> builds fine now.
>
> Please add also
>
> ifneq (,$(findstring timezone,$(subdir)))
> override CPPFLAGS+= -DBUILDING_DLL
> endif
>
OK, patch applied. I also fixed the ecpg test in Makefile.win32.
> to the Makefile.cygwin.
> Without it doesn't break just contrib/tsearch, it even breaks cygwin
> postmaster.
>
> Maybe all win32.mak and bcc32.mak must also be checked. Does anybody do
> the msvc/borland suites?
Those don't build the backend, only libpq and psql.
--
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
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | michael.schwartz | 2004-10-27 23:36:35 | instructions are useful, but lacking |
Previous Message | Magnus Hagander | 2004-10-27 18:25:45 | Re: [HACKERS] src/timezone/pgtz __imp__my_exec_path |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2004-10-27 19:39:16 | Re: Should bgwriter log checkpoint start/end? |
Previous Message | Bruce Momjian | 2004-10-27 18:53:26 | Re: Unixware 714 pthreads |