Re: Cygwin - make check broken

From: Reini Urban <rurban(at)x-ray(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Cygwin - make check broken
Date: 2005-08-09 06:09:50
Message-ID: 42F848AE.1010909@x-ray.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan schrieb:
> Tom Lane wrote:
>> Andrew Dunstan writes:
>>> Marko Kreen wrote:
>>>> On Sun, Aug 07, 2005 at 12:08:28PM -0400, Tom Lane wrote:
>>>>> Couple thoughts here --- one, someone upthread suggested
>>>>> "cyg$(NAME)$(DLSUFFIX" as the proper value for shlib.
>>>>
>>>> .exe's in different directories than .dll's but all in PATH.
>>
>>> Especially DLLs in the system directory. Anyway, I see no point *not*
>>> to observe the platform's convention.
>>>
>>> I just tested it and make check worked fine.
>>
>> OK, applied with the "cyg" prefix.
>>
>> When you get a chance, would you see if the SHLIB_LINK += $(LIBS)
>> bit is still needed?
>
> I commented it out of the Cygwin stanza and all seemed fine - contrib
> built and passed installcheck quite happily.

Ok, thanks a lot! This was my hack.

The magic cyg prefix makes it easier for libtool and the gcc linker to
detect dll's for import libraries, and also makes it easier to mix both
(cygwin vs. mingw and msvc) client libs and have both of them in the path.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
http://phpwiki.org/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Kreen 2005-08-09 08:00:49 Re: Simplifying wal_sync_method
Previous Message Bruce Momjian 2005-08-09 05:28:33 Re: Simplifying wal_sync_method