Re: [Vhs-ufpe] problems building GHC from source in Windows

2004-02-26 Thread Andre W B Furtado
Starting with a completely fresh tree indeed solved the problem. Finally I
was able to compile GHC from source, but I'd like to report that nofib and
hood are actually breaking the fptools build.

nofib error is:

/bin/sh -c  ././exp3_8_p +RTS -SC:/TEMP/stats392 -RTS +RTS -H10m -K10m -RTS
8 
/dev/null 1 C:/TEMP/runtest392.1 2 C:/TEMP/runtest392.2 3
C:/TEMP/runtest392.
3
././exp3_8_p +RTS -H10m -K10m -RTS 8  /dev/null
expected stdout not matched by reality
*** exp3_8.stdout   Tue Nov 26 11:46:26 1996
--- C:/TEMP/runtest392.1Thu Feb 26 18:42:44 2004
***
*** 1 
! 6561
--- 1 
! 6561
make[4]: *** [runtests] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make[1]: Leaving directory `/cygdrive/c/haskell/cvs2/fptools/nofib'
make: *** [build] Error 1

hood error is:

make[1]: Leaving directory `/cygdrive/c/haskell/cvs2/fptools/hdirect'
make[1]: Entering directory `/cygdrive/c/haskell/cvs2/fptools/hood'
make[1]: *** No rule to make target `boot'.  Stop.
make[1]: Leaving directory `/cygdrive/c/haskell/cvs2/fptools/hood'
make: *** [build] Error 1

Removing them from my local machine made it possible to proceed.

Cheers,
-- Andre

- Original Message - 
From: Simon Peyton-Jones [EMAIL PROTECTED]
To: Andre Santos [EMAIL PROTECTED]; Andre W B Furtado
[EMAIL PROTECTED]
Cc: GHC bugs [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 23, 2004 8:23 AM
Subject: RE: [Vhs-ufpe] problems building GHC from source in Windows


[redirecting to ghc-bugs]

I have seen this before.  Things are going wrong when you use the newly
built compiler to compile the run-time system.  (This is the first RTS
file it compiles, right?)

Trouble is, I can't remember what was wrong.   I hope you configured
with --with-gcc=c:/mingw/bin/gcc
as specified?Is this a completely clean build, starting with
autoreconf, in a tree with no old files lying around in it?  (If not,
start a completely fresh tree -- I do have a vague memory that make
clean didn't make clean enough...)

Simon

| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-users-
| [EMAIL PROTECTED] On Behalf Of Andre Santos
| Sent: 22 February 2004 07:10
| To: Andre W B Furtado
| Cc: glasgow-haskell-users; [EMAIL PROTECTED]
| Subject: Re: [Vhs-ufpe] problems building GHC from source in Windows
|
| Hi Andre,
|
| are you sure you have a ../../ghc/compiler/ghc-inplace file/compiler?
| You need to have compiled the ghc/compiler directory to have that.
|
| If you are only building a different rts you should have used
| make HC=your-ghc-compiler otherwise it will try to use
| the inplace one (which is the usual/standard behaviour).
|
| Andre.
|
| Andre W B Furtado wrote:
|
|  I was trying to build GHC in my Windows XP, using Cygwin, following
the
|  steps in the building guide. I'm stuck in the following error when
executing
|  make in fptools:
| 
|  creating libgmp.la
|  (cd .libs  rm -f libgmp.la  ln -s ../libgmp.la libgmp.la)
|  make[6]: Leaving directory
`/cygdrive/c/haskell/cvs/fptools/ghc/ghc/rts/gmp'
|  make[5]: Leaving directory
`/cygdrive/c/haskell/cvs/fptools/ghc/ghc/rts/gmp'
|  ../../ghc/compiler/ghc-inplace -H16m -O -O2 -static-c Apply.hc
-o
|  Apply.o
|  make[3]: *** [Apply.o] Error 1
|  make[2]: *** [all] Error 1
|  make[2]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc/ghc'
|  make[1]: *** [build] Error 1
|  make[1]: Leaving directory `/cygdrive/c/haskell/cvs/fptools/ghc'
|  make: *** [build] Error 1
| 
|  Any suggestions?
|  Thanks,
|  -- Andre
| 
|  ___
|  Vhs-ufpe mailing list
|  [EMAIL PROTECTED]
|  http://noronha.cin.ufpe.br/mailman/listinfo/vhs-ufpe
|
| ___
| Glasgow-haskell-users mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


locating package.conf II

2004-02-26 Thread Andre W B Furtado
Hi,

In July 2003, a discussion in this list named locating package.conf
(http://www.haskell.org/pipermail/glasgow-haskell-users/2003-July/005511.htm
l) concluded that make install on Windows is not supported. Has this
evolved since then?

Thanks,
-- Andre

___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Problem reading files...

2001-02-12 Thread Andre W B Furtado



 Hello there. I was trying to 
read a bitmap file using hGetChar but I had a problem: if the file contains the 
byte 26-decimal (or 1A-hexa) the program aborts. Here you have the 
output:

Fail: end of file
Action: hGetChar

 Since hGetChar is implemented 
with getc, I created a similar program in C, using getc. This program written in 
C had no problems. Is this a haskell bug or does anyone know what'sgoing 
on?

Thanks,
Andre Furtado