[vbox-dev] Windows build requirements for MinGW

Konstantin Vlasov flint at flint-inc.ru
Wed Jun 28 15:59:35 GMT 2017


Hi, Michal.

I see. I did run it with hardware virtualization enabled (I always do). I'll 
check with it turned off. Thanks for the tip!


>  You'd need a VM without hardware virtualization (disabled VT-x/AMD-V). Then
> the recompiler which is built with MinGW would be used pretty heavily. If you
> can run, say, Windows XP that way then the MinGW-produced code isn't too broken.

>  If you have hardware virtualization enabled then the recompiler will be used very little or not at all.


>      - Michal

> ----- Original Message -----
> From: flint at flint-inc.ru
> To: frank.mehnert at oracle.com, vbox-dev at virtualbox.org
> Sent: Tuesday, June 27, 2017 11:35:27 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject: Re: [vbox-dev] Windows build requirements for MinGW

> Hi,

> Just FYI, today I finally had time to try out this build I did with MinGW32
> version 4.5.4, and it seems to be working OK. I did not do extensive testing
> though, just installed it onto a Win7 x64 host, started a WinXP virtual machine
> and worked in it for a bit. Unfortunately I'm not sure what exactly the
> recompiler module does, so I don't know where to look for possible problems that
> the change could cause.


>> Hi,

>> Fair enough, thank you very much for the information!
>> I'll keep that in mind.


>>> Michal is right. And years ago there was a more strict dependency to an old
>>> version of gcc from code in src/recompiler. This has been fixed long time ago.
>>> Newer versions of MingW will most likely work but are not tested ATM.

>>> Kind regards,

>>> Frank

>>> On Montag, 26. Juni 2017 10:51:53 CEST Michal Necasek wrote:
>>>> 
>>>>  Because MinGW 3.3.3 is what's used for the official builds and it's known
>>>>  to be working. Other versions may well work, they just aren't positively
>>>>  known to be working.
>>>> 
>>>>  And no, MinGW is not needed for the Guest Additions at all.
>>>> 
>>>> 
>>>>      - Michal
>>>> 
>>>> ----- Original Message -----
>>>> From: flint at flint-inc.ru
>>>> To: vbox-dev at virtualbox.org
>>>> Sent: Monday, June 26, 2017 7:17:12 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
>>>> Subject: [vbox-dev] Windows build requirements for MinGW
>>>> 
>>>> Hi,
>>>> 
>>>> The wiki page https://www.virtualbox.org/wiki/Windows%20build%20instructions 
>>>> says that for 32-bit build one requires MinGW 3.3.3. Why exactly this version? I 
>>>> tried to build VB using MinGW32 version 4.5.4 (the same rubenvb build as 
>>>> MinGW64), and it compiled without problems (except that I had to patch 
>>>> configure.vbs, obviously). I did not test yet whether it works, though...
>>>> 
>>>> The only thing I did not compile is Guest Additions. Is it for them that version 
>>>> 3.3.3 is needed? Or, maybe, some runtime compatibility with older systems (like 
>>>> WinXP)? Or is it just legacy restriction not required anymore but forgotten to 
>>>> be updated?



-- 
Bye.                                    With best regards,
                                        Konstantin Vlasov.




More information about the vbox-dev mailing list