On Sat 19 Jan 2013 05:42, Peter Teeson <peter.tee...@me.com> writes: > bad return from expression `(f-sum -1 2000 -30000 40000000000)': > expected 39999971999; got 39999972255 > > FAIL: test-ffi > > > There are 2 compilers available from Apple for C/C++ > i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build > 5658) (LLVM build 2336.1.00) > Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
IIRC rebuilding libffi with a different compiler helps. But I don't recall. Perhaps Hans Aberg recalls? > I built guile-2.0.7 using the default configure/make and have 2 > questions: > (a) How can I find out which compiler/linker combo is used? Look at your config.log. > (b) How can I change configure.ac to use the other one? (If that's > the right place to make the change) ./configure ... CC=/path/to/different/cc Regards, Andy -- http://wingolog.org/