GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
TOPDIR =/usb/carat CFLAGS = -g -fwritable-strings -DDIAG1 CC = gcc OBJFLAGS = -c INCL = $(TOPDIR)/include AR = ar rvuc $(TOPDIR)/lib/libm_alloc.a GLOBAL = -DTOPDIR=\"$(TOPDIR)\" -DTABLES=\"$(TOPDIR)/tables/\" \ -DATOMS=\"$(TOPDIR)/tables/atoms/\" \ -DTABLEDIM=\"$(TOPDIR)/tables/dim\" COMP = $(CC) $(CFLAGS) $(OBJFLAGS) $(GLOBAL) -I$(INCL) OBJS = m_alloc.o .c.o: $(COMP) $< -o $@ ALL: $(OBJS) $(AR) *.o clean: rm -f *.o strip: strip *.o