[autoconf experts, please help!!]

| Simon, belive me, I have followed the instructions ;-)

OK, great.  Sorry for doubting you!

| After not getting it to work with the "--host" option and Mingw gcc
| 2.95, I tried other alternatives. Using the exact options of the
| instructions, and a clean tree, I get:
| 
|       Foreign/Storable.hs:179:
|               Type constructor or class not in scope: `NotReallyAType'

Right.  The problem is that when you run 'configure', you're getting a
setting for HTYPE_INT in fptools/mk/config.h that is 'NotReallyAType'.

That means that the configure script hasn't worked properly.  If you
look in fptools/configure and search for HTYPE_INT you'll see the stuff.

Neither Simon nor I really understand exactly how all this autoconf
magic works, I regret to say.  The configure script writes a little C
program, conftest.c I think, and uses that to figure things out.  It
clearly has a branch that says "if the program failed, set HTYPE_INT to
NotReallyAType".  So that's what's happening to you.

We think that config.log might contain some useful information.

You are using the --with-gcc flag to 'configure' (as the guide says)
aren't you?


I hope someone else reading this list knows more than we do, and can
help you find what is going on.  It works for me, but my gcc is older
than yours (could that make a difference?)

        bash-2.05$ c:/mingw/bin/gcc --version
        2.95.3-5

Simon

_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to