Subject: ld_elf.so proposal for selecting hw/dependent libraries
To: None <tech-toolchain@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-toolchain
Date: 12/12/1999 16:42:15
Here's a brief update on what I am planning to implement for ld_elf.so
in order to solve the problem of selecting different libraries at runtime
depending on the capabilities of the hardware.

In /etc/ld.so.conf, add lines of the form

<library-name>	<sysctl-machdep-name>	<value>:<library-name> ...

For example ld.so.conf could contain:

    m	fpu_present	0:msoft	1:m387

etc.

There is no problem with compatibility with the current ld.so.conf, because
paths always start with a '/', so we can destinguish the two kinds of entries.

christos