Derived C sources
A-code games are, naturally enough, written in A-code, but as the
first step of building an executable out of the A-code source, the
A-code-to-C translator acdc creates self-contained, intermediate ANSI C
source, which can be compiled and linked as any C program would be.
This allows A-code games to be distributed in a highly portable C-source
format.
I assume that you already have an A-code game C source, either
from one of the A-code games on the
adventure downloads page, or as the result
of translating some A-code source by running
acdc. If so, all you need now is an ANSI C compiler.
In the below I assume gcc being used, but any ANSI-compliant compiler
should do.
If your system has the unistd library installed, you should add
-DHAVE_UNISTD_H to all compilation commands given below.