Author: eliot Date: 2010-07-16 10:22:52 -0700 (Fri, 16 Jul 2010) New Revision: 2238
Modified: branches/Cog/cygwinbuild/HowToBuild branches/Cog/macbuild/HowToBuild branches/Cog/unixbuild/HowToBuild Log: Update the HowToBuild guides with better info on building the BochsIA32Plugin.
Modified: branches/Cog/cygwinbuild/HowToBuild =================================================================== --- branches/Cog/cygwinbuild/HowToBuild 2010-07-16 16:57:08 UTC (rev 2237) +++ branches/Cog/cygwinbuild/HowToBuild 2010-07-16 17:22:52 UTC (rev 2238) @@ -20,3 +20,17 @@ Caution: if you previously used the mingw gnutools approach, you probably have a path to that 2.x gcc in your Windows PATH. Make sure that 'which gcc' in cygwin is the cygwin gcc 3.4.x not the MinGW gcc 2.95.x (try gcc -v). + + +3a. If you want to get the Cog VM simulator working you'll need to build the +BochsIA32Plugin/BochsIA32Plugin.xcodeproj project and to build that you'll +need to first build bochs. WARNING: No one has tried to build the plugin on +Win32. You are on your own but your efforts will be warmly welcomed. +First check-out the processor simulator source tree containing Bochs: + svn co http://www.squeakvm.org/svn/squeak/branches/Cog/processors +Then build (on the Mac the following works) + $ cd ROOT/processors/IA32/bochs + $ ./conf.COG + $ ./makeem + $ cd ROOT/macbuild/BochsIA32Plugin + $ xcodebuild
Modified: branches/Cog/macbuild/HowToBuild =================================================================== --- branches/Cog/macbuild/HowToBuild 2010-07-16 16:57:08 UTC (rev 2237) +++ branches/Cog/macbuild/HowToBuild 2010-07-16 17:22:52 UTC (rev 2238) @@ -20,7 +20,10 @@
3a. If you want to get the Cog VM simulator working you'll need to build the BochsIA32Plugin/BochsIA32Plugin.xcodeproj project and to build that you'll -need to first build bochs. +need to first build bochs. First check-out the processor simulator source tree +containing Bochs: + svn co http://www.squeakvm.org/svn/squeak/branches/Cog/processors +Then build using $ cd ROOT/processors/IA32/bochs $ ./conf.COG $ ./makeem
Modified: branches/Cog/unixbuild/HowToBuild =================================================================== --- branches/Cog/unixbuild/HowToBuild 2010-07-16 16:57:08 UTC (rev 2237) +++ branches/Cog/unixbuild/HowToBuild 2010-07-16 17:22:52 UTC (rev 2238) @@ -23,3 +23,17 @@ SCHED_OTHER (unlike e.g. Mac OS X) and doesn't appear to allow changing the policy to one that does (e.g. SCHED_RR). So for now we use the itimer scheme. See platforms/unix/vm/sqUnixHeartbeat.c + +3c. If you want to get the Cog VM simulator working you'll need to build the +BochsIA32Plugin/BochsIA32Plugin.xcodeproj project and to build that you'll +need to first build bochs. First check-out the processor simulator source tree +containing Bochs: + svn co http://www.squeakvm.org/svn/squeak/branches/Cog/processors +Then build using the following, which works on Mac OS and is hence likely to +work on linux: + $ cd ROOT/processors/IA32/bochs + $ ./conf.COG + $ ./makeem + $ cd ROOT/macbuild/BochsIA32Plugin + $ xcodebuild +
vm-dev@lists.squeakfoundation.org