mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Native pg_conf failing on FreeBSD


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Native pg_conf failing on FreeBSD
Date: Tue, 16 Feb 2010 19:39:37 +1100

On 16 February 2010 02:13, Volker Grabsch <address@hidden> wrote:
> Tony Theodore <address@hidden> schrieb:
>> The attached patch puts the common options into a
>> $(PKG)_CONFIGURE_OPTIONS variable (much the same as gcc.mk), so
>> keeping the two aligned will be simpler.
>
> Thanks for the work, but I'm afraid there is a misunderstanding.
> These two sets of options are _not_ meant to be aligned.
>
> For the native build, all and everything is disabled. For the
> cross build, all supported packages are enabled.
>
> Since we currently don't enable much in PostgreSQL, those
> two sets look similar, but that's just by accident.
>
> So we should keep them separate. The native option set will
> stay as it is, and the cross option set will probably get
> some more stuff enabled in the future.

Thanks for the explanation, it's a little clearer now. I wasn't sure
how it would detect --libs if it was configured differently. I've
tried configuring with various options, and it seems that it only
records locations (and version). I also tried with LIBS, but this
fails early - it can't use the cross-libs for a native build.

My only other thought is that maybe the original approach of making a
native version from the cross-configured source will correctly report
libs and flags. Just thinking out loud - I couldn't get this to work.

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]