I think this is case when old saying "do not fix what is
not broken" applies. 'CFLAGS' in configure is autoconf
idea what things should look like. 'CCF' is what we
currently use. Given that main task of autoconf
is to adapt various setting to hast system one may
believe that autoconf knows better what we should
do. However, in some aspects autoconf has rather
inflexible view how things should be done (for
expample autoconf tries to hide differences between
shared and static libraries while FriCAS needs
specific choice). Historicaly autoconf used to
ship broken setup on some system (specificaly
some aspects of Mac OSX). Build system is has
nasty feature that little can be established
a priori: we need to adapt to specific system with
all its quirks. And the only method to check for
correctness it to try on given system. So debugging
build system is time consuming and needs access to
actual system. In the past FriCAS was build on
many flavous of Linux, Mac OSX, Windows (Cygwin and Mingw),
various BSD variants and Solaris. I would say that this
shows that nothing in FriCAS build system is fundamentaly
broken. Of course, there may be specific problems
due to either changes in FriCAS or involved systems.
Such problems should be fixed. However, lacking
reports of problems the safest way is to keep things
as is.
P.S. I know that FreeBSD folks had problems building FriCAS.
Also there are problem with Mac OSX build and Windows build.
Concerning Cygwin build, AFAIK starting from some time
Cygwin folks ship broken version of clisp -- there is
nothing which we can do to solve this. In the past Martin
Rubey tried ECL for Cygwin build, but apparently ECL on
Cygwin was too buggy. For Mingw + sbcl Gregory Vanuxem
posted some patches and info. In other cases we lack usable
bug reports (and AFAIU cases we we got useful bug reports
are fixed).
--
Waldek Hebisch