[Vm-dev] [commit][3439] And update the build script to build the X64 plugin.

commits at squeakvm.org commits at squeakvm.org
Tue Sep 15 23:29:59 UTC 2015


Revision: 3439
Author:   eliot
Date:     2015-09-15 16:29:59 -0700 (Tue, 15 Sep 2015)
Log Message:
-----------
And update the build script to build the X64 plugin.

Modified Paths:
--------------
    branches/Cog/build.macos32x86/squeak.cog.spur/makevm

Modified: branches/Cog/build.macos32x86/squeak.cog.spur/makevm
===================================================================
--- branches/Cog/build.macos32x86/squeak.cog.spur/makevm	2015-09-15 23:26:22 UTC (rev 3438)
+++ branches/Cog/build.macos32x86/squeak.cog.spur/makevm	2015-09-15 23:29:59 UTC (rev 3439)
@@ -115,7 +115,7 @@
 
 # Build the BochsIA32Plugin
 # N.B. To build the plugin you also have to build the Bochs libraries in
-# ../../processors/IA32/bochs.  cd ../../processors/IA32/bochs. Run conf.COG & makeem.
+# ../bochsx86.  cd ../bochsx86. Run conf.COG & ../../processors/IA32/bochs/makeem.
 if test -f ../bochsx86/cpu/libcpu.a; then
 echo BochsIA32Plugin xcodebuild -configuration $XCD_BUILD_CONFIGURATION -project BochsIA32Plugin/BochsIA32Plugin.xcodeproj
 xcodebuild -configuration $XCD_BUILD_CONFIGURATION -project BochsIA32Plugin/BochsIA32Plugin.xcodeproj
@@ -125,6 +125,18 @@
 echo "not building BochsIA32Plugin; support libraries unavailable"
 fi
 
+# Build the BochsX64Plugin
+# N.B. To build the plugin you also have to build the Bochs libraries in
+# ../bochsx64.  cd ../bochsx64. Run conf.COG & ../../processors/IA32/bochs/makeem.
+if test -f ../bochsx64/cpu/libcpu.a; then
+echo BochsX64Plugin xcodebuild -configuration $XCD_BUILD_CONFIGURATION -project BochsX64Plugin/BochsX64Plugin.xcodeproj
+xcodebuild -configuration $XCD_BUILD_CONFIGURATION -project BochsX64Plugin/BochsX64Plugin.xcodeproj
+rm -rf "$DEST/Contents/Resources/BochsX64Plugin.bundle"
+cp -R BochsX64Plugin/build/$XCD_BUILD_CONFIGURATION/BochsX64Plugin.bundle "$DEST/Contents/Resources"
+else
+echo "not building BochsX64Plugin; support libraries unavailable"
+fi
+
 # Build the GdbARMPlugin
 # N.B. To build the plugin you also have to build the gdb ARM sim libraries in
 # ../../processors/ARM/mac.



More information about the Vm-dev mailing list