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: Mark Brand
Subject: Re: [Mingw-cross-env-list] Specifying --build (was: make curl fails)
Date: Sat, 26 Nov 2011 21:19:08 +0100

> This is a good point, but I'd go even further
> an call it in the main Makefile, storing it
> nowhere:
>
>     BUILD := $(shell .../config.guess)

Agreed.

>
> On the other hand, the impact on performance is
> minimal, so that might be premature optimization.
> Also, that would make it even harder to try out
> build commands from the src/*.mk files by hand
> in the shell

I'm not sure I follow this paragraph. It's arguing against storing the
build string, but the preceding paragraph does not propose storing it.

>
> Maybe it is enough to install a config.guess in
> a well-known location, probably to mention it
> in the tutorial as other people might want to
> use it for the "--build" argument in their application
> build.
>

I think this is the way to go.

Shall we just install the config.guess from gcc to
<mcedir>/usr/bin/config.guess and add the following to the main
Makefile?:

    BUILD      := $(shell $(PWD)/usr/bin/config.guess)

Mark



reply via email to

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