qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH for-2.9] Fix check for target OS support


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH for-2.9] Fix check for target OS support
Date: Tue, 28 Mar 2017 10:04:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0


On 27/03/2017 22:11, Stefan Weil wrote:
> * Support cross compilation with the most common cross prefixes
>   for Mingw-w64. Other cross builds are still broken!

Can you explain how it's broken?  Why does check_define not work at this
point, for cross builds?

"../configure --cross-prefix=x86_64-w64-mingw32-" seems to work for me.

Paolo

> +if test "$cross_prefix" = "i686_64-w64-mingw32-" ; then
> +  targetos='MINGW32'
> +elif test "$cross_prefix" = "x86_64-w64-mingw32-" ; then
> +  targetos='MINGW32'
> +elif test -n "$cross_prefix" ; then
> +  targetos="$cross_prefix"
> +elif check_define __linux__ ; then
>    targetos="Linux"



reply via email to

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