[Haskell-cafe] Compilling GHC on Vista

Tom Schrijvers Tom.Schrijvers at cs.kuleuven.be
Mon Apr 23 08:52:29 EDT 2007


On Mon, 23 Apr 2007, Monique Monteiro wrote:

> Tom,
>
> On 4/23/07, Tom Schrijvers <Tom.Schrijvers at cs.kuleuven.be> wrote:
>> 
>> 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.
>
> I did the same, but it still doesn't work...
>
> Here is config.log:

Here's the more complete error message:

> configure:3321: checking for C compiler default output file name
> configure:3348: c:/MinGW/bin/gcc    conftest.c  >&5
> ld: /mingw/lib/crt2.o: No such file: No such file or directory
> configure:3351: $? = 1
> configure:3389: result:
> configure: failed program was:
> configure:3396: error: C compiler cannot create executables
> See `config.log' for more details.

Do make sure that MingW's bin/ and libexec/gcc/mingw32/3.4.2/ are the very 
first two in your path. I get the same error message if I don't do that.

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