To deliver an Eclipse application that has some source written in Common Lisp, one may use the function compile-file to convert a Lisp source file to a C source file. The resulting C source file uses the same conventions as the Eclipse library and may be treated as though it were hand written C code that uses the library.
In standard C, each stand-alone application
(1) must define a function named main which is
automatically called by the operating system when the application
starts up. The main function of an Eclipse
application must be supplied by the programmer. Typically, it calls
the Eclipse library system initialization
functions, the initialization
functions for generated C code, and finally calls a C function
defined in one of the generated C files that defines the top level
operations of the application.
The C source code of the main function for the eclipse (1) top-level (2) executable program is
provided as an example.