Programming with ooc/Installing

ooc code is compiled to C using rock

The rock github page contains a list of high-level dependencies and more detail for UNIX and Windows.

Boehm GC (optional)
1. Download the Boehm GC from here.

2. Configure, compile and install

rock
3. Download and compile rock

The first time you compile ooc source with rock will take a little longer than subsequent builds because of the nature of the compilation to C99 followed by compilation of C process. In the .libs directory - that is created wherever you call rock - the compiler will produce not only C code for your ooc but also produce the C code for the language constructs used by your code under .libs/ooc/sdk. Future compiles (especially those that do not use additional language features or parts of the sdk) will be significantly more spritely. Enjoy!