5 ms·
Has anybody managed to figure out how to use compile-object to produce executables?
by mehrdadn 8y ago
Has anybody managed to figure out how to use compile-object to produce executables?
- mehrdadn 8y agoUpdate: I found a demo in their source code in testing/test_object.sc which you can apparently compile to a nice and tiny ~16 KiB executable via: scopes test_object.sc && clang -O3 -s -o test.exe test.o
- jacereda 8y agoOn Mac it's a bit less (8k) and size reports: text data bss dec hex filename 172 24 44 240 f0