From: Wolfgang D. <wol...@da...> - 2022-03-31 18:21:49
|
Am 17.03.22 um 18:21 schrieb Bruno Haible: > The file INSTALL.windows (at the top-level in the git repository) > lists the supported ways of building CLISP on Windows. MSYS is *not* > one of the options. But mingw is, with Cygwin as a host environment. Hi all, I did try to setup that (build Clisp using Cygwin as host environment) using Github actions: https://github.com/daute/clisp-crossbuild Yes, no optional libs (libffcall, libsigsegv, ...) are used (for now), that are just the first steps and I can extend the build, when I got it working. (I tried a 32 bit build (--host=i686-w64-mingw32) first, as Robert did get problems with pointer sizes...) The current Clisp git version gets stuck when using threads: https://github.com/daute/clisp-crossbuild/runs/5766572996 (I think, one needs a Github account to see the log files). When using the option "--disable-threads" the configure step works, but the 'make' stage gets a problem, because 'eof' seems to be used in a Mingw header file: https://github.com/daute/clisp-crossbuild/runs/5773368096 ../utils/gctrigger.c:505:3: error: ‘eof’ redeclared as different kind of symbol 505 | eof, | ^~~ In file included from /home/runneradmin/clisp/build/gllib/stdlib.h:59, from /usr/i686-w64-mingw32/sys-root/mingw/include/sec_api/stdlib_s.h:9, from /usr/i686-w64-mingw32/sys-root/mingw/include/stdlib.h:765, from /home/runneradmin/clisp/build/gllib/stdlib.h:36, from ../utils/gctrigger.c:36:U /usr/i686-w64-mingw32/sys-root/mingw/include/io.h:334:15: note: previous declaration of ‘eof’ with type ‘int(int)’ 334 | int __cdecl eof(int _FileHandle) __MINGW_ATTRIB_DEPRECATED_MSVC2005; | ^~~ make: *** [Makefile:687: gctrigger.exe] Error 1 Yes, I can probably patch that (I assume, just rename the symbol 'eof' to some other name will be enough), but maybe that is interesting for the main clisp repository too... Best regards, Wolfgang |