Re: [eclipse-clp-users] ECLiPSe 7.0#49 compilation errors on macOS

From: Joachim Schimpf <jschimpf_at_...311...>
Date: Wed, 18 Sep 2019 11:39:26 +0100
On 18/09/2019 10:21, Paulo Moura wrote:
> Hi,
> 
> I'm trying to compile ECLiPSe 7.0#49 on macOS. GMP 6.1.2 is found during the configure phase. But during make I get the following errors:
> 
> 23:23 $ make -f Makefile.$ECLIPSEARCH
> ======== make_shm ========
> gcc -m64  -mmacosx-version-min=10.5   -D_REENTRANT -fPIC -fno-strict-overflow -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-pointer-sign -O2 -fomit-frame-pointer -I.  -c -o alloc.o ../src/alloc.c
> In file included from ../src/alloc.c:53:
> ../src/memman.h:50:2: error: "No code for dealing with sizeof(int) != 4"
> #error "No code for dealing with sizeof(int) != 4"
>   ^


Hi Paulo,

I have not seen this problem before.  The message indicates that you are using a 
C compiler (or compiler option) that makes sizeof(int) != 4, which would be 
extremely unusual.

Maybe it is just a problem during configure: when you run ./configure, does it 
output

     checking size of int... 4

or something different?


-- Joachim
Received on Wed Sep 18 2019 - 10:57:46 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST