bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmp 4.1 on OpenBSD


From: Kevin Ryde
Subject: Re: gmp 4.1 on OpenBSD
Date: Sun, 20 Oct 2002 09:51:54 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

Christian Weisgerber <address@hidden> writes:
>
> Makes sense, but
> configure: error: no version of udiv_fp found in path:  sparc64 generic

Ah yes, need to override the extra_functions used for the 32-bit case.
Perhaps something like (untested),

            abilist="64"
            extra_functions=
            path="sparc64"
            gcc_cflags="-g -O2"
            cyclecounter_size=2

> (The only way to get more precise system information on OpenBSD is
> to look at the output of "uname -p", but that is intended for human
> consumption and not for automatic parsing, e.g. for my Blade 100
> it says "SUNW,UltraSPARC-IIe @ 502 MHz, version 0 FPU".  I trust
> the config.guess people won't go there.)

Our config.guess is a wrapper around the standard config.guess,
getting an exact cpu type.

We grep that sort of "SUNW,UltraSPARC-IIe" from prtconf on solaris, so
perhaps we can do the same for *bsd.  Unless there's maybe a sysctl
output or something that's cleaner.

Currently there's not much in the way of cpu submodel optimizations
for the sparcs, but the scheme does good things for instance on alphas
and x86s.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]