On Thu, Mar 11, 2021 at 08:50:29PM +0800, Qian Yun wrote:
> I tried ccl and sbcl, they sort of run under Cygwin, but they
> have problems on unix style pathnames "/cygdrive/xxx", claiming
> the file does not exist. That makes them unable to compile FriCAS.
"run under Cygwin" is rathr imprecise statement. Cygwin is
really a library impementing emulation of Posix system calls.
Program linked to Cygin libraries is normal Windows program,
but shows behaviour that is Posix-like due to use of the
library. Cygwin offers a shell and collection of programs
linked to CYgwnin library. Together this gives Unix-like
environment on WIndows. IIUC cygwin shell can start normal
(non linked to Cygwin library) Windows programs, they simply
run under Windows (probably completely) unaware that they
were started from Cygwin program.
IIUC the "/cygdrive/xxx" paths are implemented in Cygwin
library. What I do not know is if Cygwin pseudoterminal
require cooperation on both sides (that is if program
running inside pty must be linked to Cygwin library),
or if they have some clever way that works without or
with limited cooperation from the program running inside
pty. In the second case one should be able to do the follownig:
- build sbcl based FRICASsys in mingw
- build FriCAS under Cygwin using different Lisp or skipping
FRICASsys and algebra (the second would require tiny modification
to makefiles)
- combine mingw FRICASsys + algebra fasls, databases, hyperdoc pages
with Cygwin parts from step two (sman, hypedoc, graphics)
There is obvious, but hopefully easy difficulty: one has to
adjust paths. Sligtly more troublesome are sockets. IIUC Cygwin
emulates Unix domain sockets, mingw has only TCP sockets so
we would have to switch Cygwin version to compatible sockets.
But unknown are pseudoterminals, ATM without working pty
the whole thing would not run.
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/20210311132558.GA37594%40math.uni.wroc.pl.