Nala Ginrut <nalagin...@gmail.com> writes: > On Sat, Dec 14, 2024, 07:35 Hakan Candar via General Guile related > discussions <guile-user@gnu.org> wrote: >> I tried the following commands with no luck: >> guile3.0 example.scm.go >> guile3.0 --language=bytecode example.scm.go >> > The current Guile is not AOT yet. Although the object file is ELF, it's > just bytecode wrapped ELF header. So you can't run it as a regular > executable file.
The commands don’t look like running the files as executables, but rather like running bytecode from Guile. I think what works is guile3.0 -C . -L . -e '(example)' -c '' That should execute the main function in a module created with (define-module (example) #:export (main)) (define (main args) #t) Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de
signature.asc
Description: PGP signature