[FIX] DOUBLE_WORD_ORDER autoconf fix for gcc 3.2

Ned Konz ned at bike-nomad.com
Tue Apr 22 23:55:51 UTC 2003


On Tuesday 22 April 2003 04:41 pm, 
Lars.Dornheim at Student.Uni-Magdeburg.DE wrote:
> > int main(void)
> > {
> >       union { double d; int i[ sizeof(double) / sizeof(int) ]; }
> > d; d.d = 1.0;
> >       return d.i[0] == 0;
> > }
> >
> > which seems to work right (for me, anyway) with and without
> > optimization.
> >
> > The attached patch to acinclude.m4 should work. Though it should
> > of course be tested by people on different platforms.
> >
> > You have to apply it to platforms/unix/config/acinclude.m4, and
> > then run "make" in that directory first.
>
> That's quite the same, I wrote a month ago. I got a message, that
> Ian already incorporated my patch, but it has not appeared on his
> UNIX web site since then, I think.

Ah, I missed that. I wish I'd seen it; I wouldn't have spent the time 
to figure it out myself.

Have you heard back from Ian?

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list