Re: Pentium emulation

Ulrich Drepper (drepper@ipd.info.uni-karlsruhe.de)
27 Jul 1997 15:56:24 +0200


hans@grumbeer.inka.de (Hans-Joachim Baader) writes:

> You're probably right. Precompiled apps must stay 386/486 compatible
> for many years. There may be a few exceptions (games?) but they would
> be too slow on 386/486 anyway.

glibc-2.1 will provide a method to automatically can avoid this.

But even today you can very easily use optimized versions. Simply
write a little startup program which dlopen's the correct shared
object. This shared object can be compiled for the specific platform.
In the startup program you can determine the platform/processor and so
choose the correct image to load.

-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------