[Nestedvm] building nestedvm with gcc 4.x

Simmons, Aaron asimmons at rosettastone.com
Thu May 6 15:50:14 EDT 2010


>Wow, this sounds like a great find. 
>
>What system are you on? Maybe you can post updated instructions (w/
>patch) for getting the cross-compiler built?

The patch works fine on Ubuntu 9.10 with gcc-4.2, though I misspoke when I said 4.x as it doesn't work with gcc-4.4.  I haven't tried it with gcc-4.3 yet.  While not the default on newer Ubuntu systems, gcc-4.2 is at least available.  :)

I'm currently blocked from building nestedvm on Mac as darcs is broken in macports (!), but I'm sure the patch will work there also with gcc-4.2 (which is the default on 10.6).

Incidentally, I figured out how to itegrate this patch into nestedvm's build.  Attached to this email is a new patch for nestedvm itself.  To make it work do this:

    1) download the patch to your home dir (nestedvm.new-gcc-fix.patch)
    2) git clone http://nestedvm.ibex.org/.git/
    3) cd nestedvm.ibex.org
    4) patch -p0 ~/nestedvm.new-gcc-fix.patch
    5) make cxxtest CC=gcc-4.2
    6) wait


Let me know how it goes,
aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nestedvm.new-gcc-fix.patch
Type: application/octet-stream
Size: 1658 bytes
Desc: nestedvm.new-gcc-fix.patch
Url : http://lists.hcoop.net/pipermail/nestedvm/attachments/20100506/96c86d81/attachment.obj 


More information about the Nestedvm mailing list