Re: [ANN] clx 0.3.0 released
"'Martin Eden' via lua-l" <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
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/f862d483-515c-4f69-b698-5302fba5b5b5%40disroot.org.