[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running Compiled Guile Objects
From: |
Dr. Arne Babenhauserheide |
Subject: |
Re: Running Compiled Guile Objects |
Date: |
Sat, 14 Dec 2024 20:21:24 +0100 |
Nala Ginrut <nalaginrut@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
- Re: AOT compiler (was: Running Compiled Guile Objects), (continued)
- Re: AOT compiler (was: Running Compiled Guile Objects), Nala Ginrut, 2024/12/15
- Re: AOT compiler (was: Running Compiled Guile Objects), Eli Zaretskii, 2024/12/15
- Re: AOT compiler (was: Running Compiled Guile Objects), Nala Ginrut, 2024/12/15
- Re: AOT compiler (was: Running Compiled Guile Objects), tomas, 2024/12/15
- Re: AOT compiler (was: Running Compiled Guile Objects), Eli Zaretskii, 2024/12/15
- Re: AOT compiler (was: Running Compiled Guile Objects), Nala Ginrut, 2024/12/15
- Re: AOT compiler (was: Running Compiled Guile Objects), Eli Zaretskii, 2024/12/15
- Re: Running Compiled Guile Objects, David Malcolm, 2024/12/14
- RE: Running Compiled Guile Objects, Maxime Devos, 2024/12/14
- Re: Running Compiled Guile Objects, David Malcolm, 2024/12/14
- Re: Running Compiled Guile Objects,
Dr. Arne Babenhauserheide <=
- Re: Running Compiled Guile Objects, Matt Wette, 2024/12/14