Re: Running Compiled Guile Objects
"Dr. Arne Babenhauserheide" <[email protected]>
| Newsgroups | gmane.lisp.guile.user |
|---|---|
| Message-ID | <[email protected]> |
Nala Ginrut <[email protected]> writes: > On Sat, Dec 14, 2024, 07:35 Hakan Candar via General Guile related > discussions <[email protected]> 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
(application/pgp-signature, 1.1 KB)
-----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmdd2rQQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD65F+EACblUPLxkNk1rQ4OmepsZqWJ31NdMLFwOIm t2jTlMTdJkU8O3+AXs3fGwn6aaa4MYbK/BdCe9J70Ko6EuSM1Bvi96N1ZNVGyFf2 9DoFlqpRGr6/qYMzj7bqygr4hHYD0y6gxPjd2uF5Q9v4pVoAxcvlcmShJCP+rvsT z6asQ6fDQKFDCx8IwyheMELwHx5HfNZMsYguHRbFycLNn3GTzmNXzIoJP9/Z4/aS FOWCcdoHIx3ZFX8aHnXD/RdaBZ9vxEZpIAWo/16H02ooUTVybGehCW57P/TRFY6h L7G+THbjwAL3fbyEcSk4WOvl9/XSRDZUy+Gue2H1/ofY/G/Zv1jKXgDskoh7nSLg ShybhPIfU60R5gctZQru9mJQK0fLnfpOx6T3y9ceT2Mdf7ExIfACLMTKA2SW4f6h PVJHauumwNg4SrB5GVnaY88NLbslUuUp4ANfNXTVskaOnKx2sCVbOwIhYfy8ep1j Bz6GOKERBFZ1EpT4xcvP6VDS0rJpHAiesU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