From: Bruno H. <br...@cl...> - 2007-11-08 14:05:27
|
Ralf-Philipp Weinmann wrote: > has anyone attempted to build clisp (current CVS head) as a 64-bit =20 > version on MacOS X 10.5 yet? >=20 > I fail miserably, although I took the na=EFve, quick and dirty route: >=20 > I simply exported CPPFLAGS=3D"-m64" before the configure / make. This is probably not enough. At least on Linux/x86_64 platforms the linker also needs to be told about the 64-bit mode. The LDFLAGS variable is the right variable for that. But sometimes $(CC) is used for linking without $(LDFLAGS). So the complete recommended settings are: CPPFLAGS=3D"-m64" CC=3D"gcc -m64" LDFLAGS=3D"-m64" > here's the output: > > #define char_bitsize 8 > #define short_bitsize 16 > #define int_bitsize 32 > #define long_bitsize 32 > #define long_long_bitsize 64 > #define pointer_bitsize 32 Obviously intparam.h has been generated by a compiler in 32-bit mode. Setting CC=3D"gcc -m64" should fix that. Bruno |