guile-user
[Top][All Lists]
Advanced

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

Quiet compilation for scripting


From: ksoft
Subject: Quiet compilation for scripting
Date: Fri, 15 Mar 2024 12:15:33 -0500
User-agent: Cyrus-JMAP/3.11.0-alpha0-300-gdee1775a43-fm-20240315.001-gdee1775a

I am in the process of rewriting in Guile a script that I use regularly. 
Running Guile 3.0.9, when I execute a file containing

  #!/usr/local/bin/guile -s
  !#
  (display "Hello, mailing list!")
  (newline)

the following is printed to standard error:

  ;;; note: source file /Users/me/./test.scm
  ;;;       newer than compiled 
/Users/me/.cache/guile/ccache/3.0-LE-8-4.6/Users/me/test.scm.go
  ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
  ;;;       or pass the --no-auto-compile argument to disable.
  ;;; compiling /Users/me/./test.scm
  ;;; compiled /Users/me/.cache/guile/ccache/3.0-LE-8-4.6/Users/me/test.scm.go

While not showstopping, it would be preferable if there were a way to suppress 
the message. This has been mentioned here and in other venues previously 
[1][2][3], but the last mention was over 10 years ago and perusal of the Guile 
manual suggests nothing toward this end has been implemented yet. Would adding 
a --quiet switch cause breakage?

Best,
Kevin

[1] https://lists.gnu.org/archive/html/guile-user/2011-03/msg00002.html
[2] https://lists.gnu.org/archive/html/guile-devel/2011-03/msg00373.html
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734009


reply via email to

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