| Index: docs/building_with_gyp.md
|
| diff --git a/docs/building_with_gyp.md b/docs/building_with_gyp.md
|
| index 0183fd2de519f25779b9f63dab37b60cd6c3a397..d4534e45236329f398dd0c6173ba46780c57f189 100644
|
| --- a/docs/building_with_gyp.md
|
| +++ b/docs/building_with_gyp.md
|
| @@ -157,6 +157,7 @@ Note: If you have configured your `GYP_GENERATORS` environment variable, either
|
| #### Custom build settings
|
|
|
| You can export the `GYP_DEFINES` environment variable in your shell to configure custom build options. The syntax is `GYP_DEFINES="-Dvariable1=value1 -Dvariable2=value2"` and so on for as many variables as you wish. Possibly interesting options include:
|
| +
|
| * `-Dcomponent=shared_library` (see `library=shared` in the [GCC + make](#Optional_parameters.md) section above)
|
| * `-Dconsole=readline` (see `console=readline`)
|
| * `-Dv8_enable_disassembler=1` (see `disassembler=on`)
|
| @@ -229,16 +230,19 @@ Building on MinGW is not officially supported, but it is possible. You even have
|
| #### Option 1: With Cygwin Installed
|
|
|
| Requirements:
|
| +
|
| * MinGW
|
| * Cygwin, including Python
|
| * Python from www.python.org _(yes, you need two Python installations!)_
|
|
|
| Building:
|
| +
|
| 1. Open a MinGW shell
|
| 1. `export PATH=$PATH:/c/cygwin/bin` _(or wherever you installed Cygwin)_
|
| 1. `make ia32.release -j8`
|
|
|
| Running tests:
|
| +
|
| 1. Open a MinGW shell
|
| 1. `export PATH=/c/Python27:$PATH` _(or wherever you installed Python)_
|
| 1. `make ia32.release.check -j8`
|
| @@ -246,10 +250,12 @@ Running tests:
|
| #### Option 2: Without Cygwin, just MinGW
|
|
|
| Requirements:
|
| +
|
| * MinGW
|
| * Python from www.python.org
|
|
|
| Building and testing:
|
| +
|
| 1. Open a MinGW shell
|
| 1. `tools/mingw-generate-makefiles.sh` _(re-run this any time a `*`.gyp`*` file changed, such as after updating your checkout)_
|
| 1. `make ia32.release` _(unfortunately -jX doesn't seem to work here)_
|
|
|