[Ecls-list] gmp bitness on 32bit msvc

red plait redplait at gmail.com
Wed Feb 15 13:23:18 UTC 2012


Also if change config.h in msvc\ecl like this:
*** msvc\ecl\config.h.msvc6.old Wed Feb 15 17:16:30 2012
--- msvc\ecl\config.h.msvc6     Wed Feb 15 17:16:47 2012
***************
*** 138,144 ****
   * but the required headers are not present in all systems. Hence we
   * use autoconf to guess the following values.
   */
! #ifdef _M_X64
  #define ECL_INT_BITS            64
  #define ECL_LONG_BITS           32
  #define FIXNUM_BITS             64
--- 138,144 ----
   * but the required headers are not present in all systems. Hence we
   * use autoconf to guess the following values.
   */
! #if defined(_M_X64) || defined(BITS64)
  #define ECL_INT_BITS            64
  #define ECL_LONG_BITS           32
  #define FIXNUM_BITS             64

ecl cannot be builded:
	cd c
	"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"
ECL_VERSION_NUMBER=120201  ECL_THREADS=1 ECL_UNICODE=1  ECL_SSE=1
"ECL_CFLAGS=/EHsc /DGC_DLL /DGC_BUILD /nologo
/D_CRT_SECURE_NO_DEPRECATE /Zi /D_DEBUG /MDd /Od /arch:SSE2 /D BITS64
-DGC_BUILD"
	cl -c /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE
/Zi /D_DEBUG /MDd /Od /arch:SSE2 /D BITS64 -DGC_BUILD
-DECL_API="__declspec(dllexport)" -I./ -I../ -I..\..\src\c
-I..\..\src/gc/include  -I..\..\src/gc/include/private /Foffi_x86.obj
ffi_x86.c
ffi_x86.c
../../src/c/arch/ffi_x86.d(242) : error C2443: operand size conflict




More information about the ecl-devel mailing list