note example cmath.c runs using $CC $CFLAHG ... sweetgum 35% more README To link and run the validate programs for the IMSL C Numerical Library, enter the following commands: $CC $CFLAGS -o cmath cmath.c $LINK_CNL $CC $CFLAGS -o cstat cstat.c $LINK_CNL ./cmath ./cstat The expected output from the executable program cmath is as follows: Library version: IMSL C/Math/Library Version 5.0 Customer number: 999999 Solution, x of Ax = b 1 2 3 -2 -2 3 The expected output from the executable program cstat is as follows: Library version: IMSL C/Stat/Library Version 5.0 Customer number: 999999 Least-Squares Polynomial Coefficients 0 503.3 1 78.9 2 -4.0 If you have installed both the static and shared versions of the libraries, you must repeat the above process for the static library. You can accomplish this by replacing "$LINK_CNL" in the compile/link command with "$LINK_CNL_STATIC" sweetgum 36% sweetgum 36% echo $LINK_CNL -rpath /usr/local/vni5/CTT5.0/lib/lib.IRIX64 -L/usr/local/vni5/CTT5.0/lib/lib.IRIX64 -limslcstat -limslcmath -lm -lpthread sweetgum 37%