texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Guile 3!


From: Massimiliano Gubinelli
Subject: Re: [Texmacs-dev] Guile 3!
Date: Sun, 22 Mar 2020 17:36:03 +0100

It should be possible. One can also turn off compilation. I still haven't improved on this side. Also the compiled files are machine independent so they can be shipped with the package.

Guile 2.x is very slow in compiling. But also with Guile 3.x the full compilation will take some time. 
m


On 22. Mar 2020, at 16:42, Marco Atzeri <address@hidden> wrote:

back to the development list

Am 21.03.2020 um 18:25 schrieb Massimiliano Gubinelli:
You have to patch configure as follows:
diff --git a/src/configure b/src/configure
index a070f36fd..f8f625884 100755
--- a/src/configure
+++ b/src/configure
@@ -8305,7 +8305,7 @@ $as_echo "#define GUILE_B 1" >>confdefs.h
       (1.8 | 1.9)
 $as_echo "#define GUILE_C 1" >>confdefs.h
  ;;
-      (2.*)
+      (2.* | 3.*)
 $as_echo "#define GUILE_D 1" >>confdefs.h
               # Check whether --enable-guile2 was given.
It is now in the git repository.
Max

Thank Max
it buils fine and I made a test package for cygwin,
but at first use I see

...
;;; compiling /usr/share/TeXmacs/progs/convert/latex/init-latex.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/convert/latex/init-latex.scm.go
;;; compiling /usr/share/TeXmacs/progs/convert/tmml/init-tmml.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/convert/tmml/init-tmml.scm.go
;;; compiling /usr/share/TeXmacs/progs/convert/rewrite/init-rewrite.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/convert/rewrite/init-rewrite.scm.go
;;; compiling /usr/share/TeXmacs/progs/prog/prog-format.scm
;;; compiled /home/Marco/.cache/guile/ccache/3.0-LE-8-4.2/usr/share/TeXmacs/progs/prog/prog-format.scm.go

that is taking a bit, still running.
There is a way to pre-compile at installation so that
I can avoid users to re-compile every first use ?

Regards
Marco


reply via email to

[Prev in Thread] Current Thread [Next in Thread]