On Mon 17 Jan 2011 23:31, [email protected] (Ludovic Courtès) writes: > Hans Aberg <[email protected]> writes: > >> I have GCC 4.0.1. > > No you don’t. This is Apple’s compiler, based on GCC, but with its own > inline semantics, and a behavior different from that of GCC. > > Anyway you found a workaround, which is what matters. :-)
When I compile on a Mac 10.5 system, I have to export CC=gcc-4.2. Both the Apple 4.0.1 and whatever their 4.2 compiler are installed, but `gcc' is the old one. How these compilers do inlining is one of the salient differences between the two. I made sure to compile a new gmp, using gcc-4.2, and compile Guile with that compiler as well. Happy hacking, Andy -- http://wingolog.org/
