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 can I generate asm.js from C/C++ on big endian architecture? [closed]
Is it possible to import Javascript functions in emcc compiled wasm code?
Emscript only change .wasm and .js file after recompile
Compile C++ functions to Wasm
Disable linking libc in emscripten
compile and link OpenEXR emscripten multiple main function defines
Emscripten sanity check error
Emscripten Using libC Socket, Assertion failed: undefined
Access em-dosbox memory from console
Emscripten - passing libraries
Emscripten: Map CWD into process
Emscripten link warning message: llvm_debugtrap
Emscripten: How to bind an enum within a class as a property of the JS constructor?
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?

Categories

HOME
design-patterns
merge
c99
wakanda
amp-html
flex
shiro
gradient
nuget
ms-access-2016
entity-framework-core
parameters
onclick
regular-language
vsm
spring-session
jax-ws
opengl-3
teechart
syntaxnet
github-enterprise
startup
redis-sentinel
selenium-ide
magnetic-cards
glyphicons
atlassian-stash
red5
swagger-2.0
enterprise-miner
googlebot
guzzle
jboss6.x
game-theory
custom-post-type
delimiter
firebase-analytics
userdefaults
panoramas
event-flow
mobx
clickjacking
android-gridview
keras-layer
activexobject
carriage-return
hibernate-search
baidu-map
processwire
openalpr
protein-database
verifiable-c
laravel-elixir
tcc
facebook-social-plugins
dapper-simplecrud
linter
sonarlint-eclipse
cnc
netbeans6.8
lightning
static-cast
filehandle
avx
reshape
seq
cmp
gameplay-kit
grails-plugin
builtins
hadoop-2.7.2
file-uri
mongodb-php
windows-azure-queues
synonym
aurora
project-organization
hadoop-partitioning
fuzzywuzzy
qbxml
mobiledoc-kit
dynamics-nav-2016
grgit
avisynth
pypiserver
fuelcms
android-launcher
mod-proxy
typeconverter
entity-framework-4.3
cryptographichashfunction
viewer
browserify-shim
spy++
named-parameters
verold
codeplex
alternate
ray
memset
ie8-compatibility-mode
observium
actiondispatch
asplinkbutton
onmousemove
sentestingkit
jquery-blockui
zope.interface
kqueue
wiimote
floating-point-exceptions
android-holo-everywhere
winmain
webdev.webserver
svk
updatesourcetrigger
easyb
binomial-heap
cfwindow
murmurhash
skype4java
glui
xpsdocument
application-planning
linfu-dynamicproxy

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