Notes on Installing the SXLib for S Version 4
S Code
- There are no special instructions other than those
provided with Version 4 itself.
However, we do want the X11 driver to be compiled with
-lXm -lXt
if available.
Things don't get loaded in the correct order otherwise.
SXLib C code
- Requirements
- Version 4 of S (of course!)
- Requires Knuth's cweb,
or some version that produces
C code from web files.
- GNU's make - gmake
- Change the relevant parameters in the
makefile.config file
to point to the appropriate directories, etc.
See configuration notes.
The makefiles in the WidgetSets directories must define SRC and
the list of .c files before including the common makefile rules
otherwise the dependencies are incorrect (evaluate to empty)
and the .web files are not tangled.
GCC gives the correct warning for the expression
to if(x > 0) when x is an 'unsigned int'.
MotifUtils.web: In function `motif_get_dialog_child':
MotifUtils.web:136: warning: comparison is always 0 due to limited range of data type
You can very safely ignore it.
Last modified: Fri Mar 21 14:46:43 PST 1997