[gjs] Visual Studio builds: Update build instructions



commit 5adecfa33d041eb6a61fba89b9f436cf6c7131c3
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Feb 15 19:03:18 2017 +0800

    Visual Studio builds: Update build instructions
    
    Tell people that SpiderMonkey 38 is now needed, and mention about working
    around bugs in the output filenames from SpiderMonkey 38's build system.

 win32/README.txt |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/win32/README.txt b/win32/README.txt
index 61dca27..500f4db 100644
--- a/win32/README.txt
+++ b/win32/README.txt
@@ -6,7 +6,7 @@ via NMake Makefiles.  Due to C++-11 usage, Visual Studio 2012 or
 earlier is not supported.
 
 You will need the following items to build GJS using Visual Studio:
--SpiderMonkey 31 (mozjs-31)
+-SpiderMonkey 38 (mozjs-38)
 -GObject-Introspection (G-I) 1.41.4 or later
 -GLib 2.50.x or later, (which includes GIO, GObject, and the associated tools)
 -Cairo including Cairo-GObject support, unless NO_CAIRO=1 is specified.
@@ -17,6 +17,14 @@ Note that SpiderMonkey must be built with Visual Studio, and the rest
 should preferably be built with Visual Studio as well.  The Visual Studio
 version used should preferably be the one that is used here to build GJS.
 
+If you built SpiderMonkey 38 using the normal build instructions as described
+on Mozilla's website, you may notice that the output library, DLLs and include
+directory might not be what one may expect, which is likely due to bugs in its build
+scripts.  If this is the case, rename mozjs-.lib to mozjs-38.lib, and the
+include directory from mozjs- to mozjs-38 (but please do *not* rename mozjs-.dll
+and mozjs-.pdb, as they will be searched for when gjs-console.exe/gjs.exe runs,
+along with any program that uses the GJS DLL).
+
 The following are instructions for performing such a build, as there is a
 number of build configurations supported for the build.  Note that the default
 build (where no options (see below) are specified, the GJS library is built with


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]