qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] Support using a different compiler for Obje


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 2/2] Support using a different compiler for Objective-C files
Date: Wed, 15 Aug 2012 15:55:51 +0100

On 15 August 2012 15:47, Andreas Färber <address@hidden> wrote:
> Am 11.08.2012 23:34, schrieb Peter Maydell:
>> +# Default objcc to clang if available, otherwise use CC
>> +if has clang; then
>> +  objcc=clang
>
> On IRC I had commented that I find defaulting to clang whenever clang is
> available too aggressive (it may be some /usr/local/bin version that
> doesn't even have the right host architecture support compiled in).
> I won't object to this patch but would appreciate a follow-up limiting
> this to v10.8+ where it's actually needed and keep using gcc elsewhere.

Mmm. It might be better to explicitly test for a compiler
with Blocks support (although even then you might end up
with clang on pre-10.8; I don't really want to check for "does
header Foo need blocks support" because that seems a bit fragile.)

-- PMM



reply via email to

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