
Most people installing SICStus onto some non-standard place, will set their PATH environment variable so that the command `sicstus' does the right thing. Exploiting this fact, I would like to know where is sicstus.h located. In other words, I need something like what is offered by SWI-Prolog as follows:
$ pl -dump-runtime-variables CC="gcc"; PLBASE="/usr/local/lib/pl-5.4.7"; PLARCH="i686-linux"; PLLIBS="-ldl -lreadline -lncurses -lm -lrt "; PLLIB="-lpl"; PLLDFLAGS="-export-dynamic -O3 -pthread"; PLSOEXT="so"; PLVERSION="50407"; PLSHARED="yes"; PLTHREADS="yes";
Here, PLBASE tells me the installation path, and from there I can retrieve everything. Notice that I rely on the fact that PATH has been set so that `pl' works.
What is the simplest way to achieve this effect for SICStus? Many thanks,
Roberto
participants (1)
-
Roberto Bagnara