Chapter 3

Using the compiler

The interface to chicken is intentionally simple. System dependent makefiles, shell-scripts or batch-files should perform any necessary steps before and after invocation of chicken. On UNIX-compatible systems, a shell script named chicken-config is supplied that emits the correct options for the host system's C compiler. Enter

chicken-config -help

on the command line for a list of available options. On most UNIX systems, a Scheme script named csc provides a much simpler interface to the Scheme- and C-compilers and linker. Enter

csc -help

on the command line for more information. A batch-file (csc.bat) with the same functionality is also available for Windows platforms. The Windows version of csc (csc.bat does not accept more than 8 arguments.