Skip to content
New issue

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

compile gmp 6.3.0,there are some error #22127

Open
wizard-123 opened this issue Jun 21, 2024 · 1 comment
Open

compile gmp 6.3.0,there are some error #22127

wizard-123 opened this issue Jun 21, 2024 · 1 comment

Comments

@wizard-123
Copy link

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
@sbc100
Copy link
Collaborator

sbc100 commented Jun 21, 2024

You are probably correct to pass --disable-assembly and in that case I'm not sure why the configure script is still wanted to check assembler label suffix. You should look at the error log from that configure step or you could attempt to modify the autoconf script to skip that step when --disable-assembly is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants