source upload
This commit is contained in:
28
contrib/mORMot/SyNode/mozjs/BuildInstruction.md
Normal file
28
contrib/mORMot/SyNode/mozjs/BuildInstruction.md
Normal file
@@ -0,0 +1,28 @@
|
||||
<!-- Build instruction for SpiderMonkey45 for Windows to use with SyNode -->
|
||||
|
||||
##Preparation
|
||||
* Download and install **MozillaBuild**. See instruction here [MozillaBuild](https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites#mozillabuild)
|
||||
|
||||
* Get Mozilla Source Code from here https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/45
|
||||
|
||||
* Apply patches.(todo: make patch)
|
||||
|
||||
## Build SpiderMonkey 45
|
||||
Follow instruction from [Mozilla Build Documentation](https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation)
|
||||
The valid options for configure is:
|
||||
|
||||
../configure --enable-ctypes --disable-jemalloc
|
||||
|
||||
## Minimize a library size
|
||||
You can minimize a icu56 library size by customizing a languages included in the data file icudt56.dll
|
||||
|
||||
It can be done using [ICU Data Library Customizer](http://apps.icu-project.org/datacustom/ICUData56.html)
|
||||
|
||||
Use a Advanced Options in the bottom of page to filter and deselect intems you not required
|
||||
Our distribution include icudt56.dll WITHOUT
|
||||
- Urdu
|
||||
- Chinese
|
||||
- Japanese
|
||||
- Korean
|
||||
- Zulu
|
||||
- Vietnamese
|
Reference in New Issue
Block a user