|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU |
Date: | Wed, 1 Nov 2017 22:22:35 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
>>> I think that currently we try to make "--help" work >>> even if you don't have a working C compiler. Does this >>> break that? >> >> Just checked, configure --help isn't broken with this change: > > Did you test with gcc uninstalled again? It's hard to see > how it could work -- if the compile test fails we'll call > error_exit, which (as the name suggests) exits. Your patch > moves the compiler check from after we handle --help to > before it... $ CC=asdf ./configure --help ERROR: "asdf" either does not exist or does not work Oops.
[Prev in Thread] | Current Thread | [Next in Thread] |