This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Wed, 5 Jan 2005 15:02:03 +0000
Brian Gough <bjg@network-theory.co.uk> wrote:
>
> Try editing config.h after running ./configure
> and adding #define HAVE_GNUX86_IEEE_INTERFACE 1 at the appropriate
> point instead of the equivalent /* #undef ... */ line.
Done. And run check both in extended and double precision. Everything
seems fine.
> Look at the case statement in configure.ac to see why it is not being
> detected. Maybe because "opteron" does not match "*86-*-linux*" or
> something.
This is exactly the case. config.guess gives "x86_64-unknown-linux-gnu"
on the Opteron, which does not match the case
*86-*-linux*)
ac_cv_c_ieee_interface=gnux86
in configure.ac.
I can see two solutions:
one is to replace the code above with
*86*-*-linux*)
ac_cv_c_ieee_interface=gnux86
the second is to add a new case
*86_64-*-linux*)
ac_cv_c_ieee_interface=gnux86_64
duplicate the following check about _FPU_SETCW also for *86_64
architecture and introduce a new
HAVE_GNUX86_64_IEEE_INTERFACE
In the first case, no modifications are needed to the source tree. In
the second, one should slightly modify ieee-utils/fp.c.
I can't choose... but you surely will.
Best,
G.
--
Giulio Bottazzi PGP Key ID:BAB0A33F
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |