Skip to content

C: The C Backend

Codes that start with A2C:C: come from the C backend, which writes the module as C and compiles it with tcc. They only appear with --backend c, or C as the backend on the Compiler page.

Numbers What
0001 to 0099 tcc
9000 to 9099 Internal errors

A2C:C:W:0001 tcc-output

A line tcc printed while it compiled the module, shown as tcc: .... tcc rarely prints anything for the C autoplay2c writes, so a line here is worth reporting.

A2C:C:E:0002 tcc-failed

tcc ended with an error, and the DLL wasn't built. The message has tcc's output. Check that tcc is the one that came with autoplay2c, and that the folder of the DLL can be written to.

A2C:C:E:9000 c-internal

The C backend can't write a function as C. This is a bug in autoplay2c: please report it, with the script that causes it.