| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Emscripten builds now include ctypes support. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| #!/bin/bash | ||
| set +e | ||
|
|
||
| export CFLAGS="-O2 -fPIC -DWASM_BIGINT" | ||
| export CXXFLAGS="$CFLAGS" | ||
|
|
||
| # Build paths | ||
| export CPATH="$PREFIX/include" | ||
| export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" | ||
| export EM_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" | ||
|
|
||
| # Specific variables for cross-compilation | ||
| export CHOST="wasm32-unknown-linux" # wasm32-unknown-emscripten | ||
|
Comment thread
Copy link
Copy Markdown
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityWhy did this end up being wasm32-unknown-linux instead of wasm32-unknown-emscripten?
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityGood question. Maybe I put it that way while debugging and didn't notice before merging.
Sorry, something went wrong.
All reactions
|
||
|
|
||
| emconfigure ./configure --host=$CHOST --prefix="$PREFIX" --enable-static --disable-shared --disable-dependency-tracking \ | ||
| --disable-builddir --disable-multi-os-directory --disable-raw-api --disable-docs | ||
|
|
||
| make install | ||
| # Some forgotten headers? | ||
| cp fficonfig.h $PREFIX/include/ | ||
| cp include/ffi_common.h $PREFIX/include/ | ||
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.