This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libffi package
Tom Tromey <tromey@redhat.com> writes:
>>>>>> "Thomas" == Thomas Heller <theller@python.net> writes:
>
> [ libffi stuff ]
>
> Thomas> The question is: where to start? I remember some time ago I tried to
> Thomas> checkout the HEAD, but that didn't build. As I said before, using the
> Thomas> gcc_3_3_2_release tag were more successful.
>
> HEAD should work fine. There have been a lot of libffi changes since
> 3.3.2, at least in the test suite. I really recommend starting with
> the latest.
Ok. The problem I reported before is that I tried to build it with an
oder gcc version 2.95.2, and 'make' failed with
<snip>
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I../include -Iinclude -I../src -Wall -g -fexceptions -g -O2 -c ../src/debug.c -fPIC -DPIC -o src/.libs/debug.o
In file included from ../src/debug.c:24:
include/ffi.h:119: #error "no 64-bit data type supported"
make[2]: *** [src/debug.lo] Error 1
make[2]: Leaving directory `/home/thomas/gcc/libffi/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/thomas/gcc/libffi/build'
make: *** [all-recursive-am] Error 2
thomas@susi:~/gcc/libffi/build > gcc --version
2.95.2
thomas@susi:~/gcc/libffi/build >
<snip/>
It seems that FFI_LONG_LONG_MAX isn't defined anywhere.
Is that intended? I only want to build libffi, not gcc ;-)
Another question: How am I supposed to build and run the test-suite
now?
Thanks,
Thomas