I tried the regular win32 release, but unfortunately ipc doesn't work properly when run from Cygwin.
Cygwin doesn't seem to have a package for newlisp, so I'm building from source. The configure script correctly identifies the environemnt as cygwin. However, running `make` throws an "icmp6.h not found" error. Looking at the `makefile_cygwin` file, I'm a bit confused by the comments:
Code: Select all
# makefile for newLISP v.10.x.x on Cygwin with readline support
#
# support for CYGWIN was dropped with version 8.6 in 2005
# nl-sock.c needs a GNU version of icmp6.h
#
# to use extended FFI add -lff to the $(CC) line and -DFFI to CFLAGS
#
# to use the semaphore function install cygserver:
# http://cygwin.com/cygwin-ug-net/using-cygserver.html
#
# Note, that readline support may require different libraries on different OSs
#
# To install, install the normal Win32 version of newLISP first,
# then copy the newlisp.exe into $(NEWLISPDIR), which is normally
# defined as "C:\Program Files\newlisp" after the Win32 install.
# at least one CYGWIN library must be installed too
Guidance?
For the sake of completeness, this is the compile error:
Code: Select all
gcc -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLIN
E -DCYGWIN nl-sock.c
nl-sock.c:53:10: fatal error: netinet/icmp6.h: No such file or directory
#include <netinet/icmp6.h>
^~~~~~~~~~~~~~~~~