DEADSOFTWARE

add preprocesor for condition compilation
[cpc.git] / README
1 CPC
2 ---------
4 A command line Component Pascal Compiler
6 Building
7 ---------
9 Requirements:
10 * x86 CPU
11 * GNU/Linux
12 * GNU GCC
13 * installed multilib
15 Stable boostrap sources and builds can be grabbed from deadsoftware.ru:
16 https://deadsoftware.ru/projects/cpc/release
18 To bootstrap compiler using pretranslated C code run this:
20 ./make-all.sh -b 486 native linux
22 Remove flag -b if you want to bootstrap using old version of cpc.
23 Add flag -h if you want to known which processors/compilers/os are supported.
25 After building you can grab binaries from directory `stage2'.
27 Directory `crux' is a good example how to make package for linux distro.
29 Bugs
30 _________
32 Contact me if you found some bugs. :)
34 Licensing
35 ---------
37 Any code and patches under GPLv3+ (see LICENSE file). Contact me if you want
38 to use some code in your BSD-licensed BlackBox/CPfront fork or project.