May 2018
Beginner
252 pages
6h 19m
English
To compile a Red program to native code, we have to do the following:
Here is the output (on Windows in PowerShell):

When a –c compilation is done, Red looks in this folder for a shared library libRedRT (.dll in Windows or .so in Linux/macOS); if this doesn't exist, it is compiled. The libRedRT shared dynamic library contains the whole compiled standard library and RunTime in precompiled form, and its size is less than 1 MB. As you can see, this compilation takes about a minute. But this only occurs the first time ...