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] Specifying --build (was: make curl fails)


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails)
Date: Mon, 28 Nov 2011 20:00:13 +1100

On 28 November 2011 03:28, Mark Brand <address@hidden> wrote:
>>>> There's another script, config.sub. I'm not sure what it does, but it
>>>> seems to be a complement to config.guess. I imagine that if we install
>>>> them in the same place, all will be fine.
>
> Following Tony's suggestion, I went ahead and installed this too, even
> though we don't use it yet.

My original thought for this was to remove the src/*config-update
patches and copy these config.* files over instead. Patches have one
main advantage over this - we'll know when the files are updated by
upstream and can remove them easily.

We can test for newer files:
    # Update config.* files for newer OSes
    [ '$(PREFIX)/bin/config.guess' -nt '$(1)/config.guess' ] && \
    cp '$(PREFIX)/bin/config.guess' '$(1)' && \
    cp '$(PREFIX)/bin/config.sub'   '$(1)'

however that will depend on release timing for binutils.

So what do you think, is it better to remove these 15 patches and have
a few extra lines, or leave it as-is and not install config.sub?

Thanks,

Tony



reply via email to

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