Download SICStus Prolog User`s Manual

Transcript
198
SICStus Prolog
int SU_initialize(int argc, char *argv[])
The contents of argv should not be modified. SU_initialize() should return
0 for success and non-zero for failure. If a non-zero value is returned, the
development system exits with the return value as error code.
--with_jdk=DIR
--with_tcltk=DIR
--with_tcl=DIR
--with_tk=DIR
--with_bdb=DIR
Specify the installation path for external (third-party) software. This is mostly
useful on Windows. Under UNIX, the installation script manages this automatically.
--keep
Keep temporary files and interface code and rename them to human-readable
names. Not intended for the casual user, but useful if you want to know exactly
which code is generated.
Arguments to spld which are not recognized as options are assumed to be input-files and
are handled as follows:
‘*.pl’
‘*.po’
‘*.ql’
‘*.sav’
‘*.so’
‘*.sl’
‘*.s.o’
‘*.o’
‘*.obj’
‘*.dll’
‘*.lib’
‘*.c’
‘*.cc’
‘*.C’
‘*.cpp’
‘*.c++’
These are interpreted as names of files containing Prolog code and will be passed
to SP_load() at run-time. NOTE: these arguments are not subject to any
absolute_file_name/2 processing at spld time. If the intention is to make an
executable that works independently of the run-time working directory, avoid
relative filenames.
These are interpreted as names of files containing saved states and will be
passed to SP_restore() at run-time, subject to the above caveat about relative
filenames.
It is not meaningful to give more than one ‘.sav’ argument.
These files are assumed to be input-files to the linker and will be passed on
unmodified.
These files are assumed to be C/C++ source code and will be compiled by the
C/C++-compiler before being passed to the linker.