GMP 5.0.5 build fails with tcc due to x86_64 asm (unknown register...)

Vincent Lefevre vincent at
Wed Jun 20 21:48:55 CEST 2012

On 2012-06-20 21:26:18 +0200, Torbjorn Granlund wrote:
> Let's first decide if it is worth spending time on.  Just because
> somebody writes a "compiler" doesn't mean taat we need to feed GMP to
> it...
> Does anybody really need to use tcc for compiling GMP?

Perhaps because of dependency. But I'm not sure (there was a confusing
Debian bug report suggesting that it was needed).

> Does this compiler have its own (very limited) assembler build-in?

tcc compiles C by generating byte code directly. Thus an assembler
isn't really needed. It seems to have a very limited assembler,

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the gmp-devel mailing list