On Sun, Mar 07, 2021 at 11:34:15PM +0800, Qian Yun wrote:
> OK, some progress,
> 
> First, "OBEY" is only called 3 times during a default build:
> 
>     sort  "temp.text"  > "libdb.text"
>     rm -f glosskey.text
>     rm -f gloss.ht

The last two are easy to eliminate, I will do this.
 
> Second, the key for SBCL on Windows is ":search t", so I propose
> the following patch:
> 
> diff --git a/src/interp/vmlisp.lisp b/src/interp/vmlisp.lisp
> index c72b9781..8bcab2dd 100644
> --- a/src/interp/vmlisp.lisp
> +++ b/src/interp/vmlisp.lisp
> @@ -757,8 +757,8 @@
>               (sb-ext::run-program "/bin/sh"
>                      (list "-c" S) :input t :output t :error t))
>     #+: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 "sh" :search t
> +                    (list "-c" S) :input t :output t :error t))
>  )
> 
>  #+:openmcl

It would be good if somebody using Windows comments.  For me this
is OK, just people making installers need to remember to bundle
sh.

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

Reply via email to