MATHLINK(8) BSD System Manager's Manual MATHLINK(8)NAME
mathlink - configure math libraries
SYNOPSIS
mathlink [-hs] [-r root]
DESCRIPTION
The mathlink script sets up hard links to math library files. With no
arguments, it sets up hard links so that programs that are linked to the
-lm library (see ld(1)) will use an efficient hardware-dependent version
if hardware floating point is available, or a standardized, generic ver-
sion if not. The generic library avoids the use of instructions that are
not supported by the system's floating point emulation, and it provides
multiple modes of error reporting. Mathlink will create all appropriate
links for static and dynamic shared libraries, as well as archive li-
braries.
The options are as follows:
-h Force the use of the hardware-dependent version.
-r Treat root as the root of the filesystem. This option is
useful for building distributions.
-s Force the use of the standardized, generic version.
Mathlink is normally run at boot time to set up math library links before
any users of the math libraries are run.
FILES
/etc/rc.configure/0.math.0 boot time configuration script
SEE ALSOmath(3)BUGS
Mathlink uses dmesg(3) to check for a floating point unit, which isn't
reliable if the system has been running for a significant period of time.
BSDI BSD/OS March 4, 1998 1