This discussion begun on gmp-bugs, was moved to gmp-discuss... I reply to gmp-devel to avoid confusions for the users, because the problem I've found arise with the current head repository only.
> Vincent Lefevre <vinc...@vinc17.net> writes: > > Not to remove it, but to make it *optional*, i.e. to have a fallback > in C. In the development version (from the repo) I tried: $ CC=tcc ./configure --disable-assembly ... configure: summary of build options: Version: GNU MP 5.0.90 Host type: x86_64-unknown-linux-gnu ABI: 64 Install prefix: /usr/local Compiler: tcc Static libraries: yes Shared libraries: yes $ make ... $ make check ... /bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" tcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DNO_ASM `test -f 'amd64call.asm' || echo './'`amd64call.asm libtool: compile: ../mpn/m4-ccas --m4=m4 tcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DNO_ASM amd64call.asm -DPIC -o .libs/amd64call.o m4 -DHAVE_CONFIG_H -DNO_ASM -DPIC amd64call.asm >tmp-amd64call.s tcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DNO_ASM tmp-amd64call.s -DPIC -o .libs/amd64call.o tmp-amd64call.s:120: error: unknown opcode 'movq' ... Even with the "--disable-assembly" option given to configure, "make check" is asking to the compiler to assemble a .s file. It didn't happen with the "--host=none" option given to GMP-5.0 . If you have some suggestion about how to fix this, I'll be happy to try! Best regards, m -- http://bodrato.it/papers/ _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org http://gmplib.org/mailman/listinfo/gmp-devel