Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Programming with ooc/Installing

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

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. Installing in Ubuntu Linux Boehm GC (optional) 1. Download the Boehm GC from here. 2. Configure, compile and install ./configure [--prefix=/<alternate path>] make make install rock 3. Download and compile rock git clone https://github.com/nddrylliog/rock.git rock cd rock make rescue 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!