/usr/share/doc/mathomatic/examples/compile.limits is in mathomatic 16.0.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/sh
# Compile limits.c and create the executable in ~/bin if it exists.
# limits is a standalone program that nicely
# displays current C data type limits and sizes.
# Works with any C compiler, compiles with the C compiler you set CC to.
CC=${CC-cc}
if [ -d ~/bin ]
then
LIMITS=~/bin/limits
else
LIMITS=./limits
fi
echo Compiling limits.c
set -e
set -x
$CC -Wall $CFLAGS $CPPFLAGS $LDFLAGS -o $LIMITS limits.c
echo limits.c compiled and installed as $LIMITS
|