VM 3.4.1 on SuSe Linux 8.1

Marco Paga mail at marco-paga.de
Sat Mar 15 12:04:00 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm having a problem with Squeak on my SuSE 8.1, too. So is there any Linux 
hacker who would like to package a VM for SuSE?

regards
marco

On Saturday 15 March 2003 01:24, Bert Freudenberg wrote:
> Am Freitag, 14.03.03 um 04:00 Uhr schrieb <Jim.Gettys at hp.com>:
> > I almost hate to own up to tremendous hacks, but....  If you look at
> > the
> > following snippet of code from the X library:
> >         int endian;
> > 	endian = 1;
> > 	if (*(char *) &endian)
> > 	    client.byteOrder = '\154'; /* 'l' */
> > 	else
> > 	    client.byteOrder = '\102'; /* 'B' */
>
> This is not the problem. Here is straight from Squeak's autoconf script:
>
> int
> main ()
> {
>    /* Are we little or big endian?  From Harbison&Steele.  */
>    union
>    {
>      long l;
>      char c[sizeof (long)];
>    } u;
>    u.l = 1;
>    exit (u.c[sizeof (long) - 1] == 1);
> }
>
> The problem is that with GCC 3.x the autoscript logic for checking
> double-word order fails.
>
> -- Bert

- -- 
Marco Paga, mail at marco-paga.de , http://www.marco-paga.de
GnuPG Key ID: 0xCD8E7612
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cxa1lI77o82OdhIRAqXzAKCEqDECPQAIolONjMqp9+pAFPVghQCfSZpn
eiqdeuG4v+FRUdz2hS5DuvA=
=U/tX
-----END PGP SIGNATURE-----



More information about the Squeak-dev mailing list