emscripten


Emscripten - passing libraries


I am compiling a main C project for firefox OS via Emscripten which has dependency on another crypto library C project.I was able to generate crypto.js file for it.When I am trying to compile main C project, I am getting below warnings.How do I pass the crypto library file(crypto.js) in order to avoid multiple warnings such as below with Emscripten?
warning: unresolved symbol: curve25519_shared
warning: unresolved symbol: crecip_donna
warning: unresolved symbol: fmul_donna
One option would be to generate .bc file of your crypto project and then statically link with your main project ie provide the path of crypto.bc file as a parameter when envoking emcc for your main project.
This is the recommended way for maximizing performance and minimizing size as per emscripten docs.

Related Links

How to include multiple emscripten libraries with multiple preloaded MEMFS filesystems
Declaring multi-element array within EM_ASM_INT breaks compilation
How to wrap or call a C function with void as return in Emscripten?
Do you have to free strings passed to exported C functions in Emscripten?
Remove data file in FS module Emscripten
Getting Emscripten streaming audio to work
Trying to get asm.js to return a typed array
Call a function, with array parameter
Emscripten error when binding class with 2D double array
Compile issue with Emscripten on Windows 7
How do I access the Emscripten typed array from javascript?
Interaction with C++ classes in Emscripten
Recommended environment for Emscripten full language compile
Emscripting a mfc program using visual studio 2010
EMScripten fails to build sample project
Error when im trying to convert cpp with std includes using Emscripten

Categories

HOME
sonarqube
grok
facebook-oauth
polymer
formal-languages
pyqt
pascal
fftw
nuget
opendj
spring-data-mongodb
visual-studio-emulator
jax-ws
azure-container-service
boto3
mql5
owin
opengl-es-3.0
gkturnbasedmatch
magnetic-cards
http-post
package-managers
screen-readers
gruntfile
vuejs
libigl
dynamically-generated
beta
8051
angular-translate
user-defined-functions
eviews
python-2.6
cognos-bi
left-join
jmockit
github3.py
installscript
browser-extension
lubridate
hivemq
git-rewrite-history
stringtokenizer
parser-generator
tcc
facebook-social-plugins
snapchat
jboss-4.2.x
jquery-ui-draggable
facebook-pixel
manova
magic-draw
context-sensitive-grammar
java-6
payload
choice
ziparchive
qtplugin
scaffolding
tooleap
jbase
libvlc
boomerang
java-money
microsoft-reporting
rate-limiting
fuelcms
eoferror
google-refine
git-ftp
entity-framework-4.3
user-permissions
jbake
administration
insight.database
with-statement
angular-carousel
reflector
draw2d-js
clickbank
qscrollarea
windows-embedded-standard
high-resolution
code-duplication
hidapi
superscrollorama
nokia-s40
monotouch.dialog
zope.interface
wcf-configuration
inkcanvas
kqueue
relative
strsep
w3c-geolocation
event-receiver
xui
tmx
django-paypal
updatesourcetrigger
sifr3
escrow
fdf
httpcookie

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App