GMP 5.0.5 build fails with tcc due to x86_64 asm (unknown register...)
Vincent Lefevre
vincent at vinc17.net
Tue Jun 19 15:22:19 CEST 2012
On 2012-06-19 15:11:55 +0200, Torbjorn Granlund wrote:
> I am not sure we can win this race, where ever worse compilers pop up.
> If people play with such a compiler, isn't reasonable to assume they can
> interpret errors such as the ones above? Would they be helped by an
> error message from GMP's configure:
>
> "Sorry, assembler invoked by 'mce' cannot assembly the any instruction
> and doesn't recognise any register names"
>
> (Here 'mce' is the mis-compiles-everything compiler.)
I completely disagree: until now, tcc is fine for compiling C.
C, not assembler!
In GMP's "./configure --help" output:
CC C compiler command
So, CC is a command to compile C code. For the assembler, it may be
another command.
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-bugs
mailing list