Epsilon User's Manual and Reference >
Command Reference >
|Compile the current buffer as appropriate. ||Alt-F3|
This command tries to compile the current buffer. It uses the
compiling command appropriate for the current buffer. For .c files,
this is contained in the compile-c-cmd variable. For .cpp or .cxx
files, this is contained in the compile-cpp-cmd variable. For .e
files, this is contained in the compile-eel-cmd variable. When you
compile an EEL file successfully, Epsilon automatically loads the
resulting bytecode file.
If the current buffer has no compilation command associated with it,
Epsilon will prompt for the appropriate command and record it in the
buffer-specific variable compile-buffer-cmd. For C, C++, and EEL
files, Epsilon automatically sets this to refer to the variables
Before and after running the compilation command, Epsilon does any
mode-specific operations needed, by calling the buffer-specific
function pointer variables
post_compile_hook, respectively. An EEL programmer can use these hooks to
make Epsilon perform additional actions each time you compile buffers.
The function pointed to by post_compile_hook receives a status
code returned by the do_compile( ) subroutine, and the number of the buffer to be compiled.
See that function's definition in proc.e for details. The function
pointed to by pre_compile_hook receives no parameters. If
either variable holds a null pointer, Epsilon doesn't call it.
Compiling From Epsilon
Copyright (C) 1984, 2018 Lugaru Software Ltd. All Rights Reserved.