I think the final solution could just be that the files are compiled at the moment the package is installed or prepared. The user will not see the compilation process.
M
I think that first-use compile should be disabled by default.
Because of the time it takes before the user can start work, it is something the user should deliberately choose.
Maybe it could happen in the background during use and become active on the next use after it is complete?
Sam On Sun, 22 Mar 2020 at 16:36, Massimiliano Gubinelli < address@hidden> wrote: 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
back to the development listAm 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 Maxit 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.gothat is taking a bit, still running.There is a way to pre-compile at installation so thatI can avoid users to re-compile every first use ?RegardsMarco
_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________ Texmacs-dev mailing list address@hiddenhttps://lists.gnu.org/mailman/listinfo/texmacs-dev
|