logoalt Hacker News

tnelsond4today at 12:19 AM0 repliesview on HN

> What's different between tcc -run and CJIT? >The main difference is in usability.

> CJIT improves three main UX aspects for now:

> It works as a single executable file which embeds the TinyCC compiler, all its headers and its standard library. This way there is no need to install anything system wide, check paths and setup build folders.

> It supports adding multiple files into one execution: can accept wildcards to ingest anything that is a C source, a pre-compiled object or a shared library. The symbols exported by each file will be visible to all during the same execution.

> It finds automatically common system libraries for each target platform, avoiding the need to repeat these settings and look for the right paths.