[LLVMdev] Re: Building CFE in Mingw

Oscar Fuentes oscarfv at telefonica.net
Sun Apr 23 15:05:28 PDT 2006


Anton Korobeynikov <asl at math.spbu.ru> writes:

[snip]

>     2) Problem: Complains about gthr-default.h file.
>        Resolution: Grab gcc/gcc/gthr-win32.h file and copy it to gthr-default.h

... so --enable-threads=win32 is broken... good to know.

>     3) Problem: Complains about "CL_ObjCXX" and simular ("CL_") during
>                 compilation c-opts.c.
>        Resolution: Turn off windows file protection, remove system32\sort.exe
>                    file. After, check, that sort --version tells you, that it
>                    is sort 2.0 (GNU textutils).

Another workaround for this problem is checking that cygwin or msys
bin directories comes first on PATH.

Great post, Anton.

-- 
Oscar




More information about the llvm-dev mailing list