[vbox-dev] Is gcc 3.3.x really necessary to compile the recompiler?

Huihong Luo huisinro at yahoo.com
Tue Jul 14 09:22:22 PDT 2009

Hi Nikolay,
Thanks for the clarification. It's much easier without sticking to the old gcc version.
Yes, I noticed that VBoxRem2.rel is an ELF image. Can you explain how this file is built? I assume it's done on Linux. Do you use mingw toolchain on linux to do the cross compile? Since it's ELF image, perhaps it's built from pure linux gcc (w/o cross compile to windows)?
I am trying to eliminate VBoxREM2.rel on windows using MingW64, in other words, combining the current VBoxREM.dll + VBoxREM2.rel ==> VBoxREM.dll

--- On Tue, 7/14/09, Nikolay Igotti <Nikolay.Igotti at Sun.COM> wrote:

From: Nikolay Igotti <Nikolay.Igotti at Sun.COM>
Subject: Re: [vbox-dev] Is gcc 3.3.x really necessary to compile the recompiler?
To: "Huihong Luo" <huisinro at yahoo.com>
Cc: "VirtualBox developer's list" <vbox-dev at virtualbox.org>
Date: Tuesday, July 14, 2009, 2:24 AM

    Hi Huihong,

Recompiler should build OK with recent gcc. Gcc 3 limitation was applicable to 'old' recompiler, not relying on TCG for codegeneration. Windows 64-bit REM is built to ELF image, not  PE, thus  MinGW shall be of little help to you.


Huihong Luo wrote:
> The reason I asked is that gcc 4.4.3 seems to be working fine on linux, so I am very confused about gcc requirement.
>  I am trying to use the latest gcc4.4.0 mingw64 bit on amd64 to build the recompiler, would this be a problem?
>  Does 3.3.x requirement only apply to mingw32? in other cases, gcc 4 is OK?
>  Thanks,
> ------------------------------------------------------------------------
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090714/917119aa/attachment-0001.html 

More information about the vbox-dev mailing list