C Compiler RE 4.0a: a C compiler for the multiplatform runtime engine Leonardo RE 4.0a -------------------------------------------------------------------------------------- C Compiler RE 4.0a is a C compiler, currently available only for MacOS, that produces multi-platform executable files that can be executed on any version of the runtime engine Leonardo RE 4.0a. The runtime engine Leonardo RE 4.0a is distributed for MacOS, Windows, and Leonardo IDE 3.4.1, and is available for download at http://www.dis.uniroma1.it/~demetres/Leonardo/. Usage: ------ To write a C program, create a new C project, then add existing C files to it or create a new C file by pressing the "pencil" button. To compile and link the program, use the "make" button. The target multi-platform executable file will be created with a generic icon. Since the C Compiler RE 4.0a was obtained from the C compiler available in Leonardo IDE 3.3, for more details about compiling programs see the Leonardo User Manual available at http://www.dis.uniroma1.it/~demetres/Leonardo/. Limitations and known bugs: --------------------------- - Only the following ANSI standard functions are available in C Compiler RE 4.0a: : printf, scanf : strcat, strcpy, strlen, strchr, strcmp (require the file ANSI.c to be added to the project) : cos, sin, tan, acos, asin, atan, cosh, sinh, tanh, exp, log, log10, fabs, sqrt, pow, ceil, floor : clock - Floating-point litterals must be float (e.g., 12.5 has to be written 12.5f): this is required for maintaining compatibility with little-endian platforms (Intel). - Printing int values with printf using the %d specifier may not work in the runtime engine for Leonardo IDE 3.4.1 (LeonardoRE4.0a-Leo): using long values and the %ld specifier seems to fix the problem. Distribution & disclaimers: --------------------------- The C Compiler RE 4.0a is freeware for non-commercial purposes. It can be freely distributed in electronic form on computer networks, on magnetic media or on CD-ROM, provided this "Readme" file is included. This software is provided "AS IS" and without warranty of any kind, neither express nor implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Under no circumstances including negligence, shall we, Camil Demetrescu and Irene Finocchi, be liable for any incidental, special or consequential damages that result from the use or inability to use the software, even if advised of the possibility of such damages. Comments and feedback: ----------------------- For any comments and feedback about C Compiler RE 4.0a write to: ----------------------------------- Rome, July 7, 2001 Camil Demetrescu Irene Finocchi