On Thu, Mar 04, 2021 at 06:37:06PM +0800, Qian Yun wrote:
> I don't know the history of obey.bat, or if it ever worked.
> 
> My current hack is:
> 
>     #+:win32 (sb-ext::process-exit-code
> -             (sb-ext::run-program (make-absolute-filename "/lib/obey.bat")
> -                    (list S) :input t :output t :error t))
> +             (sb-ext::run-program "C:/msys64/usr/bin/sh.exe"
> +                    (list "-c" S) :input t :output t :error t))
> 
> 
> This works for msys2/mingw64 at least.
> 
> Not familiar with SBCL on windows, I wonder if there are better ways
> to achieve this.  (Because here I hard coded msys2 default path.)

Well, in principle path to shell could be configuration parameter
(we could possibly also look at environment variables, but it is
not clear if we want this).

My longer time strategy was to eliminate shell and use 'run-program'
to execute programs that we need.  Of course, this means that we
need to know where the programs live.  Also, some uses of external
programs were replaced by internal code. 
 
> Now, what about cygwin?  Shall we try to make it able to compile
> trunk version as well?  Or are we satisfied with the status quo?

It would be better to compile trunk version.  One question is
what is missing?  Of course, it is for you and other folks
working on cygwin port to decide how much effort you want to
spent...

-- 
                              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/20210306184432.GB14068%40math.uni.wroc.pl.

Reply via email to