[Haskell-cafe] Re: Compilling GHC on Vista

Claus Reinke claus.reinke at talk21.com
Wed Apr 25 10:40:13 EDT 2007

> gcc version 3.4.2 (mingw-special)
> configure:3288: $? = 0
> configure:3295: c:/MinGW/bin/gcc -V >&5
> gcc.exe: `-V' option must have argument
> configure:3298: $? = 1
> 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

not sure whether this is relevant, but there is no drive letter in that library path.

cygwin doesn't know about /mingw anyway, but if i am in a cmd shell,
it does matter what drive i'm on, as absolute paths without drive letter
will default to the root of that drive:

    D:\>c:\mingw\bin\ld \mingw\lib\crt2.o -M | find "OUTPUT"
    c:\mingw\bin\ld: \mingw\lib\crt2.o: No such file: No such file or directory

    C:\>c:\mingw\bin\ld \mingw\lib\crt2.o -M | find "OUTPUT"
    OUTPUT(a.exe pei-i386)


More information about the Haskell-Cafe mailing list