Mail Archives: djgpp-workers/1999/08/05/21:29:47
Bonjour
>
> On Thu, 5 Aug 1999, Jeff Williams wrote:
>
> > Would there be any point in having `uname' also test for and
> > report the presence of a functional FPU for those processors
> > where it was actually an option (e.g., with 386s, and with
> > some crippled 486 versions, IIRC).
>
> I don't think so. `uname' is a compatibility function, so it should
> comply to whatever the Unix systems return. And they put only the CPU
> identification into the `machine' member. AFAIK, no x86-based system
> reports anything about x87. You can look at one of the GNU-standard
> config.guess and config.sub scripts to try to find out if there's any
> that do.
I actually think it is a good idea to add this extension via
a new switch for example '-x' or -f etc .. and a new member name
to utsname.
config.sub, config.guess are merely aids to help a maintainer
to figure out the type of the system. For example Sun extended
this with '-p'
# uname -m
sun4u
# uname -p
sparc
Of course, IMHO.
--
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!
- Raw text -