hugs for ppc linux
Sigbjorn Finne
sof@galois.com
Wed, 8 May 2002 07:43:07 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_005B_01C1F663.FE619DD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi,
I'm guessing that if you apply a patch along the lines of what was
contributed by Sean O'Rourke
http://haskell.org/pipermail/hugs-bugs/2002-May/000711.html
things might just improve (I've re-attached that patch to this e-mail
message.) Alternatively, build from the CVS version of Hugs
( http://cvs.haskell.org/ )
hth
--sigbjorn
----- Original Message -----
From: "Boris Gordon" <boris@borg-music.com>
To: <hugs-users@haskell.org>
Sent: Wednesday, May 08, 2002 15:00
Subject: hugs for ppc linux
>
> I am attempting an install of hugs on a powerpc (lombard apple powerbook
g3)
> linux machine.
>
> Compile seemed to go fine but apon running hugs it just sits at
'Parsing..'
> and never loads the Prelude .. it just seems to hang there.
>
> heres what i did to compile -
>
> -- cd /usr/hugs-blahblah/src/unix
> -- ./configure
> -- cd ..
> -- make
> -- make install
>
>
> Any information / thoughts at all is greatly appreciated.
>
> regards
> Boris Gordon
------=_NextPart_000_005B_01C1F663.FE619DD0
Content-Type: application/octet-stream;
name="eof-patch.dat"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="eof-patch.dat"
*** /home/sean/src/hugs98-Dec2001/src/hugs.c~ Thu Dec 13 22:47:30 2001=0A=
--- /home/sean/src/hugs98-Dec2001/src/hugs.c Sun May 5 19:06:02 2002=0A=
***************=0A=
*** 373,379 ****=0A=
{ GVarname line =3D "";=0A=
int linep =3D 0;=0A=
=0A=
! char c;=0A=
=0A=
while ( (c=3Dfgetc(f)) !=3D EOF && c !=3D '\n') { /* read =
HUGSFLAGS */=0A=
if ((c !=3D '\t') && (c !=3D '\r')) { /* skip some =
control chars */=0A=
--- 373,379 ----=0A=
{ GVarname line =3D "";=0A=
int linep =3D 0;=0A=
=0A=
! int c;=0A=
=0A=
while ( (c=3Dfgetc(f)) !=3D EOF && c !=3D '\n') { /* read =
HUGSFLAGS */=0A=
if ((c !=3D '\t') && (c !=3D '\r')) { /* skip some =
control chars */=0A=
*** /home/sean/src/hugs98-Dec2001/src/input.c~ Wed Dec 12 21:25:55 2001=0A=
--- /home/sean/src/hugs98-Dec2001/src/input.c Sun May 5 19:03:37 2002=0A=
***************=0A=
*** 512,520 ****=0A=
static Int local nextLine()=0A=
{=0A=
for (lineLength =3D 0; lineLength < LINEBUFFER_SIZE-1; =
lineLength++) {=0A=
! lineBuffer[lineLength] =3D fgetc(inputStream);=0A=
! if (lineBuffer[lineLength] =3D=3D EOF)=0A=
! break;=0A=
#if MULTI_LINEFEED=0A=
if (lineBuffer[lineLength] =3D=3D '\r') {=0A=
char c =3D fgetc(inputStream);=0A=
--- 512,521 ----=0A=
static Int local nextLine()=0A=
{=0A=
for (lineLength =3D 0; lineLength < LINEBUFFER_SIZE-1; =
lineLength++) {=0A=
! int c =3D fgetc(inputStream);=0A=
! if (c =3D=3D EOF)=0A=
! break;=0A=
! lineBuffer[lineLength] =3D (unsigned char)c;=0A=
#if MULTI_LINEFEED=0A=
if (lineBuffer[lineLength] =3D=3D '\r') {=0A=
char c =3D fgetc(inputStream);=0A=
------=_NextPart_000_005B_01C1F663.FE619DD0--