qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu-doc.texi: Add information on compiling sou


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] qemu-doc.texi: Add information on compiling source code on Mac OS X
Date: Sat, 8 Aug 2015 00:13:23 +0100

On 7 August 2015 at 21:32, Programmingkid <address@hidden> wrote:
>
> On Aug 7, 2015, at 1:00 PM, Peter Maydell wrote:
>> (https://trac.macports.org/wiki/UsingTheRightCompiler
>> suggests that XCode 3.2 for OSX 10.6 provided a non-default
>> 'clang'; I don't have a 10.6 + 3.2 system to check whether that
>> clang will build QEMU though. If it does then we should
>> recommend using it rather than building gcc. 10.5 users
>> are definitely stuck with finding or building a non-Apple
>> compiler, though.)
>
> I just checked and my system does include clang. Didn't even know
> about it. Too bad it didn't work to compile QEMU. It doesn't support
> Thread-Local Storage. It is probably too old (version 3.0).

Thanks for testing that -- you're running OSX 10.6, right?
I guess the TLS stuff got added to clang for the version
that's in Xcode 4.2. So it looks like we have a fairly
straightforward
 * 10.5 and 10.6 -> compile a gcc or download a third-party build
 * 10.7 and above -> use Xcode's clang
division.

-- PMM



reply via email to

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