
21 Oct
2005
21 Oct
'05
7:14 p.m.
so the idea would be that once you know where `sicstus' is you also know where `sicstus.h' is.
Once you've run sicstus you can use the following sicstus code to get the relevant environment variables:
:- use_module(library(system)).
environ('SP_RT_DIR',D1) environ('SP_LIBRARY_DIR',D2) environ('SP_APP_DIR',D3)
it does not directly give you the path to sicstus.h, but it can be (always??) recovered from the value SP_APP_DIR or SP_RT_DIR I guess.
Best,
--
Samir