Re: Why all glibc2 programs are FPU programs

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Tue, 26 May 1998 20:28:34 +0400 (MSD)


In article <r2btsl5bvb.fsf@happy.cygnus.com> you wrote:
: The problem is that we decide, e.g., about the rounding mode by adding
: -lieee to the link line.

First of all, who forced you to make it at link time?
-lieee trick looks in the highest extent ugly,
at least I do not remember, that someone used it really.

The second observation is that if some "standard" insists
on working -lieee trick (do not think so),
this can be solved by overriding weak symbol.
In this case, if program does not care, kernel will
initialize CW to default value when it is necesary (or never)
If it DOES care, load is made in crt.

As I remember, in old good years I had full system
running on 386 without either NPX or emulator.
Seems, only stupid awk dies withut FPU.
Now it is not so actual problem, but I see no reasons
to trash FPU state, when you need not it.

Alexey Kuznetsov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu