I've been trying to cross-compile Spidermonkey and I am stuck with the problem wherein prtypes.h (NSPR) is unrecognizable. I alread tried modifying Makefile.ref/config.mk/jsconfig.mk to point to a desired NSPR/DIS directory. I must have missed some basic steps because it still won't make things work.
Do you have any ideas on how to properly modify the makefiles to point my spidermonkey to the right NSPR libraries?
Spidermonkey pointing to a NSPR/DIST directory
461 Views Asked by giantKamote At
1
There are 1 best solutions below
Related Questions in CROSS-COMPILING
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- OpenSSL with C++ app - getting undefined references during compilation
- How to navigate to the structure definition for the target architecture when cross-compiling on Ubuntu with VS Code?
- yaml-cpp cross-platform building, how to build arm in x86 ubuntu vm
- Cross compiling godot as export template for arm
- How do I override location for dynamically linked libgcc_s?
- Xcode does not recognize PoDoFo built for iOS
- How to containerize the compilation process for a Rust-based Windows application on Linux?
- Shared library dependency is not forwarded by a static library target when privately linked
- Unable to cross-compile a simple program using MSVC 9
- cpython3.6.15 has Bus error (core dumped) problem in arm paltform
- can't find linker script when cross compiling for win32 from linux
- Swift binary built in docker causes "illegal instruction" crash on real Linux
- conan/cmake can't see llvm linker when cross-compiling from macOS (arm64) to Windows (x86_x64)
- How can I get "avr-unknown-gnu-atmega328" target working?
Related Questions in SPIDERMONKEY
- Spidermonkey api: object function returning an object
- Obtaning the AST of JavaScript code from Spidermonkey
- What does it mean that SpiderMonkey is threadsafe?
- Linking shared, static, and dynamic library
- javascript binding on wp8 and winrt
- How to use packaged modules in a non-node JS environment?
- SpiderMonkey shell. Is it possible to load shred library dynamicly?
- Avoid compilation overhead
- Is Javascript substring virtual?
- Recognizing JavaScript functions with GJS (Spidermonkey 1.7)
- Loading and reading XML files in cocos2d-x 3.0 javascript scripts
- Embed javascript code in spidermonkey in multithreaded application
- JavaScript experts: why does `with` nullify the compiler's scope-related optimizations
- JavaScript experts: Do block-scopes with `{}` and anonymous functions both help garbage-collection?
- Once again: How to get DOM in JavaScript Engine? Has this somebody done?
Related Questions in NSPR
- linux x86 assembler to llvm assembler
- NSS Build failure due to assembly code Windows 10 64bit machine
- Unable to update nspr package on CentOS 6.7
- C++ casablanca vs Mozilla NSPR vs Facebook folly
- Building NSS (Network security services) for Mac OS X 10.9 not working
- Mac OS - Failed to install python-spidermonkey because nspr not found
- Working with files NPAPI/PPAPI/NSPR
- Read an image file C++ and put it on a socket
- What is difference b/w PRLock and PRRWLock
- building mozilla NSPR using MinGw on windows without VC++
- How to use NSPR?
- Spidermonkey pointing to a NSPR/DIST directory
- jsprf.c:644: error: incompatible types in assignment
- NSPR locks with timeout
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You've probably already solved your problem, but still...
make JS_DIST=dir JS_THREADSAFE=1 -f Makefile.refdiris where nspr is installed, I think it must be full path to its directory (like /usr/local/nspr or /home//mozilla/nsprpub/dist if it's not installed), otherwise it has some issues that might make you want to modify spidermonkey's makeifle.https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_THREADSAFE