Re: pgxs/windows

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgxs/windows
Date: 2006-01-18 23:25:29
Message-ID: 200601182325.k0INPT301544@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan wrote:
>
>
> Tom Lane wrote:
>
> >Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> >
> >
> >>dllwrap doesn't seem to get given LDFLAGS, and maybe doesn't honor it
> >>either.
> >>
> >>
> >
> >I wouldn't expect it to handle everything that might appear in LDFLAGS,
> >but maybe it ought to be given the -L items from LDFLAGS (compare the
> >way we copy just those items into SHLIB_LINK).
> >
> >What's confusing me at the moment is that it seems to work for Magnus.
> >Are you maybe working from different source trees? I believe we changed
> >around the handling of these switches recently. Maybe in his copy, the
> >-L items from LDFLAGS are making it into the dllwrap command via
> >SHLIB_LINK.
> >
> >
> >
> >
>
> I am working against 8.1 from the installer - he is working against a
> local mingw install.
>
> Also, he might be working from a later toolset - I have gcc3.2.4 while
> gcc 3.4.2 is the latest mingw release - some other tools might also be
> mildly out of date.

Could this be related to the fact that pre-8.2 makefiles were not
space-safe? I am unsure how pgxs worked on Win32 without being
space-safe.

--
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-01-18 23:27:31 Re: No heap lookups on index
Previous Message Jim C. Nasby 2006-01-18 23:22:48 Re: FW: Surrogate keys (Was: enums)

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2006-01-19 00:17:06 Re: pgxs/windows
Previous Message Bruce Momjian 2006-01-18 22:43:39 Re: New pg_dump options: exclude tables/schemas, multiple