qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tcg/i386: Fix build for systems without working


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32)
Date: Fri, 21 Feb 2014 00:09:24 +0000

On 20 February 2014 23:55, Brad Smith <address@hidden> wrote:
> On 20/02/14 12:50 PM, Peter Maydell wrote:
>>
>> Win32 doesn't have a cpuid.h, and MacOSX may have one but without
>> the __cpuid() function we use, which means that commit 9d2eec20
>> broke the build for those platforms. Fix this by tightening up
>> our configure cpuid.h check to test that the functions we need
>> are present, and adding some missing #ifdef guerds in
>> tcg/i386/tcg-target.c.
>
>
> The build will also fail if not using fairly new GCC

Do you happen to know how new 'fairly new' is? My stock compile
is with gcc 4.6.something, which isn't a spring chicken any more,
and that worked OK.

(We're going to fix this anyway, so it's just for my curiosity.)

thanks
-- PMM



reply via email to

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