Skip to content

whether emscripten only supports 32-bit compilation? #5485

@ZhangQP

Description

@ZhangQP

When I build project libpmem ( https://github.com/pmem/nvml libpmem is in nvml/src/libpmem) with command 'emmake make' without configure (according to the emscripten wiki, the configure process can be omitted), a problem appears that '32-bit builds of NVML are not supported, please use 64-bit platform/compiler'. I find at https://kripken.github.io/emscripten-site/docs/compiling/Building-Projects.html#detecting-emscripten-in-preprocessor , the forth point from bottom says that emscripten is a 32-bit platform.
The OS is Ubuntu 16.04, and the emscripten version is emsdk-portable.
So my question is, how should I solve this problem? Whether emscripten supports 64-bit compilation? If no, why there are many big projects based on wasm, which I think should be 64-bit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions