[vbox-dev] x86_64-unknown-linux-gnu-g++.exe not found on x64 machine

Ben Zhu bzhu at ironkey.com
Sun Apr 25 18:18:25 GMT 2010


Hi Michael,

 

Thanks a lot for your advice.

Can you double check if the following is what I need to do?

 

1. on A 32-bit Windows XP, download a Fedora 12 image and install it into a
Virtual Box.

2. find out and download glinc-devel packages in the Fedora 12.

   Not sure which package I should download for either x86_64 or i686. 

   Can you advise which version I should download?

      1. glibc-devel-2.11.1-4.x86_64.rpm  -- for Fedora 12 updates for
x86_64,

      2. glibc-devel-2.11.1-6.x86_64.rpm  -- for Fedora 12 testing updates
for x86_64,

      3. glibc-devel-2.11.1-4.i686.rpm    -- for Fedora 12 updates for
x86_64, or

      4. glibc-devel-2.11.1-6.i686.rpm    -- for Fedora 12 testing updates
for x86_64

 

3. download and install the latest MinGW development environment.

   There is an x64 version MinGW for download, but based on your suggestion,


   I should download 32-bit MinGW. Does this mean we will build a 32-bit
version of VB for x64 Windows?

   Can you tell the reason? 

   

4. install MinGW development environment in terms of the prerequisites of
http://gcc.gnu.org/install.

   Should I install it on a 32-bit Windows XP or an x64 Windows 7?

   

Thanks a lot,

Ben

 

 

 

-----Original Message-----
From: vbox-dev-bounces at virtualbox.org
[mailto:vbox-dev-bounces at virtualbox.org] On Behalf Of Michael Martin
Sent: Friday, April 23, 2010 5:02 PM
To: vbox-dev at virtualbox.org
Subject: Re: [vbox-dev] x86_64-unknown-linux-gnu-g++.exe not found on x64
machine

 

Ben Zhu wrote,

>I am building the VBox on x64 Windows and got an error that tells  cannot
find the x86_64-unknown-linux-gnu-g++.exe.

>Can someone tell where I can find and download the
x86_64-unknown-linux-gnu-g++.exe?

 

As far as I can tell, you'll need to build it yourself; you need to

install a MinGW development environment anyway, and then you can use

it to build a recent gcc cross-compiler targeting

x86_64-unknown-linux-gnu.

 

Doing this properly will also require you to build a sysroot that has

a version of glibc installed in it; the easiest way to get one of

those is to take the glibc-devel packages from Fedora or Debian or

whatnot and extract them into the directory you set as --with-sysroot.

http://gcc.gnu.org/install/ will also discuss the prerequisites.

 

You'll still need the 32-bit MinGW to build VirtualBox; both are

needed at different points in the install.

 

_______________________________________________

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/20100425/3e218734/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5093 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100425/3e218734/attachment.bin>


More information about the vbox-dev mailing list