[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails)
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails) |
Date: |
Thu, 1 Dec 2011 07:32:40 +1100 |
On 29 November 2011 03:06, Volker Grabsch <address@hidden> wrote:
[...]
> Since config.sub is supposed to return its argument unmodified
> (on success), we can simplify the second line to:
>
> echo "ac_cv_build=`$(1)/config.guess`" > '$(PREFIX)/share/config.site'
>
> Also, do we really have to install the "config.site" file
> into two locations? I'd prefer to install it only once,
> into '$(PREFIX)/$(TARGET)/share/config.site'.
>
> (I prefer $(PREFIX)/$(TARGET) over $(PREFIX) because we
> might want to add TARGET-specific stuff here in the future.)
Indeed, only $(PREFIX)/$(TARGET) is required:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/57d6b9a7a2a0
>> The above doesn't require config.sub to be installed, so we could
>> remove that step.
>
> I'd prefer it if we could install a system-wide config.sub
> and "trick" the ./configure script into using that instead
> of its local ./config.sub.
>
> If we can't trick ./configure into using it, there's indeed
> no need to install config.sub at all, as there's no need to
> call it at all. :-) (see above)
removed:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/fbbf875bec5a
>> I can't test if this technique also solves the wine detection problem,
>> though I suspect it may, possibly with the addition of "build=" to the
>> config.site file. If it does, we wouldn't need to install config.guess
>> either.
>
> Indeed. That could be a good alternative, although
> replacing "config.sub" with "echo" might do the
> trick as well. ;-)
Works well for the single exception with a non-standard native build:
http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/215c972c5084
Thanks Volker and Mark, this was a productive thread!
Tony
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), (continued)
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Tony Theodore, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Volker Grabsch, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Tony Theodore, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Tony Theodore, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Volker Grabsch, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Tony Theodore, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails),
Tony Theodore <=
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Mark Brand, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Tony Theodore, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Mark Brand, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Tony Theodore, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Mark Brand, 2011/11/28
- Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails), Volker Grabsch, 2011/11/26