Re: [ANN] clx 0.3.0 released
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin, Thanks for trying clx, and I'm sorry you've run into this issue. To avoid cluttering the mailing list, could you please open an issue on GitHub and include your CPU model (or the output of lscpu) along with any other details about your system? I'll investigate it there. Samir Le 23/08/2026 23:26, 'Martin Eden' via lua-l a écrit : > On 2026-08-23 22:48, 'Martin Eden' via lua-l wrote: > >> I'll try it. > > I've cloned repo and build script produced 500 KB executable (I'm on > Linux Mint). > > Trying to run it produces error: > > $ ./clx test.lua > Illegal instruction (core dumped) > > But at least it can print help: > > $ ./clx > Usage: clx [options] <file.lua> [<compiler-options>] > > clx Compiler Options: > -o, --output <name> Specify output file name > --executable Build executable (default) > --object Compile to object file (.o/.obj) > --static Compile to static library (.a/.lib) > --debug Enable debug symbols > --size Optimize for size (default) > --fast Optimize for speed > --cpp Generate C++ source file and exit > --minimal Exclude non-essential Lua modules; keeps base + > package > --dynamic Link the embedded Lua 5.5 VM > (load/loadfile/dofile) > --version Print version and exit > --help Display this help message > > Compiler Options: > Any options starting with '-' not recognized by clx are passed to the > C++ compiler. > If no compiler options are provided, default optimization flags are > used. > Example: clx file.lua -O3 -march=native > > -- Martin -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/5e786e5377e0ddf72fedd2a7c0d5d417%40luart.org.