[vbox-dev] diff for configure.vbs for 64 build

Frank Mehnert Frank.Mehnert at Sun.COM
Fri Jul 3 02:25:55 PDT 2009


we are using version 3.3.3 of MingW32 and this has to be the 32-bit
version, even for Windows 64 (remember, the raw mode == non-VT-x/AMD-V
mode is always 32 bit).

Cross-compiling on Linux is no problem in general as gcc -m32 produces
32-bit code even on 64-bit machines and 32-bit binaries run well on
64-bit machines as well (but both should apply to Windows as well).

Kind regards,


On Thursday 02 July 2009, Huihong Luo wrote:
> Hi Frank,
> I managed to build all pieces on win.amd64 except these two modules:
> VBoxRem2.rel and RuntimeR3NoCRTGCC
> I had to comment these 2 out from .kmk files in order to build the rest.
> Can you shed some lights on how to build these two? What mingw gcc version
> are you using on amd64 windows platform? or, if you build these two on
> linux, how do you do that? (seems VBoxREM2.rel is ELF image format, instead
> of windows dll format) 
> Thanks,
> Huihong
> --- On Wed, 7/1/09, Frank Mehnert <Frank.Mehnert at Sun.COM> wrote:
> From: Frank Mehnert <Frank.Mehnert at Sun.COM>
> Subject: Re: [vbox-dev] diff for configure.vbs for 64 build
> To: vbox-dev at virtualbox.org
> Date: Wednesday, July 1, 2009, 1:53 PM
> Hi,
> On Wednesday 01 July 2009, Huihong Luo wrote:
> > Spent some time debugging in building amd64 on windows.
> >  
> > There is a mistake in configure.vbs file, without this fix, win.x86 will
> > be built even if on amd64 windows box.
> > I attached the diff file, pls make the correction.
> >  
> > There are other issues on building the recompiler on windows, debugging
> > that too.
> thanks for your effert, we will look into this patch soon. So far
> we only build the 32-bit OSE version for Linux and Windows to ensure
> that the most important builds compiles properly for OSE. There is a
> TODO to test this for more environments (Mac OS X, win64) but so far
> there wasn't enough time ...
> Kind regards,
> Frank

Dr.-Ing. Frank Mehnert

Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090703/05bd8954/attachment-0001.bin 

More information about the vbox-dev mailing list