The latest version of Hugs (980429) successfully compiles on Linux
and HP-UX 9/10, but fails on Alpha platforms. Here a part of the
compilation log:

-----------------------------------------------------------------------
[...]
gcc -O3 -c -g -O   builtin.c
iomonad.c: In function `primMakeFO':
In file included from builtin.c:1388:
iomonad.c:920: warning: cast to pointer from integer of different size
iomonad.c:922: warning: cast to pointer from integer of different size
iomonad.c: In function `primWriteFO':
iomonad.c:932: warning: cast to pointer from integer of different size
builtin.c: In function `getAddr':
builtin.c:1568: warning: cast to pointer from integer of different size
builtin.c: In function `putAddr':
builtin.c:1585: warning: cast from pointer to integer of different size
[...]
-----------------------------------------------------------------------

The reason is (like always on Alphas...) that a pointer (8 bytes)
doesn't  fit into an int (4 bytes). Starting hugs fails almost immediately:

-----------------------------------------------------------------------
panne@coltrane:/soft/IFI/src > hugs
      ___    ___   ___    ___   __________   __________                        
     /  /   /  /  /  /   /  /  /  _______/  /  _______/         Hugs 1.4       
    /  /___/  /  /  /   /  /  /  / _____   /  /______                          
   /  ____   /  /  /   /  /  /  / /_   /  /______   /  The Nottingham and Yale
  /  /   /  /  /  /___/  /  /  /___/  /  _______/  /    Haskell User's System 
 /__/   /__/  /_________/  /_________/  /_________/         January 1998

   Copyright (c) The University of Nottingham and Yale University, 1994-1997.
    Bug reports: [EMAIL PROTECTED]   Web: http://www.haskell.org/hugs.

Reading file "/soft/IFI/lang/hugs-980429/share/lib/Prelude.hs":
Parsing........................................................................
Dependency analysis............................................................
Type checking..................................................................
Compiling......................................................................
Reading file "(null)":

Unexpected signal
-----------------------------------------------------------------------

An older version (971202) seems to work fine.

-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne

Reply via email to