Re: buildd failure for m68k - floating point encoding?
On Tue, 26 Oct 2004, Helen Faulkner wrote:
> I am maintaining a new package, labplot, that is failing, at its first upload,
> to build on m68k (and several other things). I believe the problem is that
> there is no floating point encoding being defined for that architecture, which
> is leading to an undefined type of struct later on.
>
> The program defines the floating point encoding in the included cdf library
> like this (from cdf/cdfdist.h, line 437 onwards):
>
>
> /*****************************************************************************
> * Floating-point encodings.
> * 1..........Sun, SGi, IBM-RS, HP, NeXT, Macintosh
> * 2..........DECstation, IBM-PC, Alpha (OSF/1), Alpha (OpenVMS - IEEE_FLOAT)
> * 3..........VAX, Alpha (OpenVMS - D_FLOAT)
> * 4..........Alpha (OpenVMS - G_FLOAT)
> *****************************************************************************/
> Does anyone know whether m68k uses the same encoding as one of these examples?
> What I am hoping is that m68k uses the same floating point encoding as one of
> the archs this code already works for, and that it's therefore only a matter
> of fixing the #if statements above to include the m68k case.
Since both NeXT and Macintosh used m68k CPUs (as well as early Sun, SGI, and HP
workstations), I guess 1 is the correct value.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: