emscripten-core / emscripten-core/emscripten

compile gmp 6.3.0,there are some error

Open
#22,127 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

use ”apt install emscripten“ to install
```
em++ -v
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.5 ()
```
when compiling,use command as
```
emconfigure ./configure --enable-cxx --prefix=/usr/local/gmp-9.3.0 --disable-assembly
```
the error is
```
checking how to run the C++ preprocessor... em++ -E
checking for ld used by em++... emcc
checking if the linker (emcc) is GNU ld... yes
em++: error: no input files
checking whether the em++ linker (emcc) supports shared libraries... yes
checking for em++ option to produce PIC... -fPIC -DPIC
...
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking for assembler label suffix... configure: error: Cannot determine label suffix
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.