7cc is inspired by most C compilers. But instead of compiling C code to machine language, it translates Lua calls to the given XML files.
7cc operation is simple at first, but later it will be fully developed as compiler and interpreter.
At this very moment, 7cc only works with Lua language.
7cc depends on Lua only and it is required to compile:
git clone https://codeberg.org/SimplyCEO/7cc.git
cd 7cc/
make BUILD_TYPE=ReleaseMakefile:
- CC: C compiler;
- CFLAGS: C compiler flags;
- LDFLAGS: Linker flags;
- BUILD_TYPE:
DebugorRelease; - BUILD_STATIC: Force statically linking objects;
- INSTALL_PREFIX: Installation prefix for built binary;
The compiled binary will be located inside bin directory.
It can also be installed using the INSTALL_PREFIX=/usr/local option.
su -c 'make INSTALL_PREFIX=/usr/local install'For portable installation:
make install- Develop the entire game
DataXML API; - Provide 7CC API documentation;
- Crossplatform code linking;
- Release stable version to public;