On Tue, Jun 28, 2022 at 08:51:31AM +0800, Qian Yun wrote:
> 
> 
> On 6/28/22 06:42, Waldek Hebisch wrote:
> >>OK, I wonder if you know that there is no libX11 in msys2/mingw64.
> >>
> >>Isn't the point of sman to support hyperdoc and graphics? (and clef).
> >
> >I did not look at 'msys2/mingw64'.  32-bit msys DLL was just fork
> >of Cygwin DLL so difficulities to get them running were probably
> >similar.  Anyway, once we get past trouble with pty-s we can use
> >Cygwin hyperdoc and graphics.  But emulating pty-s may be tricky...
> >
> >>Just want to make sure if your "whole FriCAS on win32" vision contains
> >>hyperdoc and graphics.
> >
> >Yes.
> >
> 
> OK, from https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/ :

<snip>

> So, for Cygwin, we can treat it as a Linux distro.  Currently we use
> ECL to build FriCAS.  I didn't bother to build hypertex and graphics,
> but I'm 99.9% sure it just works.  Also Cygwin doesn't use win32
> sockets.
> 
> Now, for MSYS2.  My goal is to have *native* windows binary.  Now we
> have native windows binary without hyperdoc/graphics.  But frankly
> speaking, current native windows build almost has zero C part, it is
> almost a pure lisp image.
> 
> sman/hyperdoc/graphics uses too much POSIX, it is hard (and not worth
> it) to make them cross-platform.

A am affraid you did not notice what I wrote several times:
there is no pricipal reason for graphic/hyperdoc to be
compiled in the same way as FRICASsys.  I know that some
Windows folks strongly dislike Cygwin.  But Cygwin is
reasonable way to get graphical parts to Windows.  Given
that sbcl seem to be incompatible with msys2.dll, we
should build FRICASsys without linking to it or Cygwin
DLL.  But this does not exclude using Cygwin program
as helpers (in similar spirit to using msys2 tools for build).

Actually, cmucl port have similar spirit: cmucl is still 32-bit,
but C executables are build as 64-bit code.

Of course, real Windows lover would replace X11 calls by calls
to Windows API.

-- 
                              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/20220628104056.GA21091%40fricas.math.uni.wroc.pl.

Reply via email to