LispWorks Foreign Language Interface User Guide and Reference Manual > 7 The Foreign Parser > 7.4 Using the LispWorks Editor

NextPrevUpTopContentsIndex

7.4.2 Compiling and Loading Foreign Code with the Editor

  1. Open the file test.c in the LispWorks Editor. Note that the buffer is in C Mode, indicated by "(C)" in the mode line.
  2. Use the menu command Buffer > Compile , or equivalently run Meta+X Compile Buffer .
  3. Your C file is compiled with the same options as lw:compile-system would use, and the object file is loaded. The object file name is printed in the Output tab. It is written in your temporary directory (usually that given by the value of the environment variable TEMP ) and deleted after register-module is called on it.

LispWorks Foreign Language Interface User Guide and Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex