[CLN-list] Build CLN for 64 bi windows

Richard Crozier richard.crozier at yahoo.co.uk
Mon Oct 21 01:28:53 CEST 2019


Dear list, Kaveh,

I am trying to build CLN for windows 64 bit. I'm actually doing this by 
cross-compiling form linux using M Cross Environment (see www.mxe.cc for 
more information). When I try to build I get the folloinwg error:


libtool: compile:  x86_64-w64-mingw32.static-g++ -DHAVE_CONFIG_H -I. 
-I../autoconf -I../include -I../src -I../include -I../src -g -O2 -MT 
base/cl_as_exception.lo -MD -MP -MF base/.deps/cl_as_exception.Tpo -c 
base/cl_as_exception.cc -o base/cl_as_exception.o
libtool: compile:  x86_64-w64-mingw32.static-g++ -DHAVE_CONFIG_H -I. 
-I../autoconf -I../include -I../src -I../include -I../src -g -O2 -MT 
base/cl_condition.lo -MD -MP -MF base/.deps/cl_condition.Tpo -c 
base/cl_condition.cc -o base/cl_condition.o
In file included from ./base/cl_sysdep.h:10:0,
                  from base/cl_alloca.cc:4:
../include/cln/intparam.h:26:2: error: #error "Type char * does not fit 
into a long!!"
  #error "Type char * does not fit into a long!!"


I noticed in a thread from eight years ago that this same problem 
existed back then:

https://www.ginac.de/pipermail/cln-list/2011-February/000607.html

Is it a huge amount of work to fix this? Did Kaveh ever share the work 
he did on it?

Best regards,

Richard



More information about the CLN-list mailing list