[cfe-dev] clang on Windows

Jeroen Ruigrok van der Werven asmodai at in-nomine.org
Mon Jun 4 04:23:11 PDT 2012


Hi Cesar,

-On [20120604 07:29], Cesar Mello (cmello at gmail.com) wrote:
>Any suggestions for a newcomer? What is the current situation, where to start,
>what people are already doing, any information is welcome.

Michael Spencer has done a great investigation on this.

A quick summary of some issues:

Basically Clang cannot self-host at the moment due to the Microsoft C
runtime being non-conforming to C99. Mingw/cygwin works.

Most of the headers can be parsed, with the exception of MFC and ATL
headers.

Exception handling doesn't work.

Clang does not support VC-style inline assembly syntax.

There's no drop-in for cl.exe at the moment.

No PDB debug information is generated, rendering debugging quite useless.

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | GPG: 2EAC625B
Open your Heart and push the limits...



More information about the cfe-dev mailing list