[Haskell-cafe] Compilling GHC on Vista
Tom Schrijvers
Tom.Schrijvers at cs.kuleuven.be
Mon Apr 23 03:22:51 EDT 2007
> I'm trying to compile GHC on Windows Vista, but I encountered the
> following error when running ./configure --host=i386-unknown-mingw32
> --with-gcc=c:/MinGW/bin/gcc:
>
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> ./configure: line 3404: cannot create temp file for here document: No such
> file
> or directory
> ./configure: line 3441: cannot create temp file for here document: No such
> file
> or directory
>
> Has anyone any idea about what may be happening?
Monique,
What does the config.log say?
Are you able to run the MingW's gcc compiler yourself on a simple C
program?
I had a similar error, cause by the fact that gcc.exe cannot find cc1.exe,
which is in MingW/libexec/gcc/mingw32/3.4.2/. I had to add it to my PATH.
Cheers,
Tom
--
Tom Schrijvers
Department of Computer Science
K.U. Leuven
Celestijnenlaan 200A
B-3001 Heverlee
Belgium
tel: +32 16 327544
e-mail: tom.schrijvers at cs.kuleuven.be
More information about the Haskell-Cafe
mailing list