--enable-fat option doesn't work on Mac OS X / PowerPC

Vincent Lefevre vincent at vinc17.org
Fri Aug 17 13:19:11 CEST 2007


"./configure --help" says:

  --enable-fat            build a fat binary on systems that support it
                          [default=no]

I've tried it under Mac OS X, as Mac OS X supports fat binaries, but
it doesn't seem to work: no dynamic library is generated.

The GMP manual says:

Fat binary, `--enable-fat'
     Using `--enable-fat' selects a "fat binary" build on x86, where
     optimized low level subroutines are chosen at runtime according to
     the CPU detected.  This means more code, but gives good
     performance on all x86 chips.  (This option might become available
     for more architectures in the future.)

So, I suppose that the "configure --help" should be: "build a fat binary
on x86", and the configure script should fail if --enable-fat is provided
but does not work.

-- 
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list