Re: [fricas-devel] an interesting bug, regarding sman (low level C stuff)

2020-08-08 Thread Waldek Hebisch
On Sat, Aug 08, 2020 at 04:59:27PM +0800, oldk1331 wrote:
> Why do you think Windows needs different
> declarations? Aren't we using cygwin/mingw?

For that issue Cygwin, WSL and mingw are really
different platforms.  WSL emulates Linux, so
it should be enough to treat it as Linux.  Mingw
uses native Windows calls and AFAIK that is
different from Linux.  In particular AFAIK
instead of Unix domain sockets Windows has
"local" sockets which offer similar functionality,
but require somewhat different code.  But
for deeper information one should look into
Microsoft documentation.
> 
> BTW, what's our support status for windows?
> Cygwin or mingw or WSL? I tried to build with
> Msys2 today, but it's really a bad experience,
> very slow, I gave up after 2 hours.
> 

Concerning Windows status, I do not have Windows,
I know what other folks tell me.  At various
times I received information about sucessful
builds on Windows, most on the list, some
private.  In most cases information was rather
sparse, lacking details.  Around 2007 FriCAS
used to build with Windows GCL, this was without
sman, hyperdoc and graphics, so really no need
for sockets.  In this period Gabriel Dos Reis
fixed some issues with Windows sockets, they
build and probably worked OK.  Later GCL support
on Windows got broken (apparently GCL could not
correctly compile rather simple Lisp code and
nobody investigated deeper).  For some time
using Clisp and Cygwin gave us slow, but
fully functional FriCAS on Windows.  But now
functionality that we need is no longer present
in Cygwin Clisp, so this no longer works (in
principle, if somebody managed to install old
Cygwin, then FriCAS should still build).  In
principle Cygwin ECL should work, but I do not
remember if anybody had success with this
(and I remeber folks having problems with
building Cygwin ECL).

Concerning recent state, message were on the
list.  In particular, beside your info above there
were message by Gregory Vanuxem in April.

Could you say what exacly you tried?  And have you
any idea what was so slow?  In particular,
at what stage build was when you interrupted it?

BTW.  Some info I have is rather old.  But I am
trying to keep old things working.  As I wrote,
on Windows I depend on info from others.  Few
days ago I got old Linux machine running.  Now
I can say that current trunk builds with no
problem on 32-bit Linux from about 2008 using
sbcl 1.0.16.

-- 
  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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/20200808130218.GA33907%40math.uni.wroc.pl.


Re: [fricas-devel] an interesting bug, regarding sman (low level C stuff)

2020-08-08 Thread Ralf Hemmecke
> Cygwin or mingw or WSL?

What I have heard about WSL2, then it shouldn't be a big problem to
build FriCAS there. Or is is because of the X requirement?
Anyway, if I were interesedt in Windows support, I focus on WSL2.

Ralf

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ec8e2e3f-5501-94cf-36b6-431957d6c905%40hemmecke.org.


Re: [fricas-devel] an interesting bug, regarding sman (low level C stuff)

2020-08-08 Thread oldk1331
Why do you think Windows needs different
declarations? Aren't we using cygwin/mingw?

BTW, what's our support status for windows?
Cygwin or mingw or WSL? I tried to build with
Msys2 today, but it's really a bad experience,
very slow, I gave up after 2 hours.


> should work.  On Linux theoreticaly cleaner would be to use
> 'sockaddr_un' instead of 'sockaddr' (and include 'sys/un.h').
> But Windows needs different declarations.  Also, in 'sockio-c.c'
> theorticaly it would be safer to write:
>
>  (struct sockaddr *)([1].addr)
>
> instead of '[1].addr.u_addr'.
>
> --
>   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 fricas-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fricas-devel/20200729022152.GA38001%40math.uni.wroc.pl
> .
>

-- 
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 fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/CAGBJN92y1nKKwsRT61VJDb9no9q-8nS_5%3DMomemBfdPyJ063rA%40mail.gmail.com.