[cfe-dev] Clang for Windows and Boost
Cornelius Riemenschneider
cornelius.riemenschneider at googlemail.com
Fri Mar 18 13:22:10 PDT 2011
On 18.03.2011 20:50, Edward Diener wrote:
> On 3/18/2011 1:23 PM, Jean-Daniel Dupas wrote:
>>
>> Le 18 mars 2011 à 17:42, Edward Diener a écrit :
>>
>>> On 3/18/2011 12:30 PM, Douglas Gregor wrote:
>>>>
>>>> On Mar 18, 2011, at 8:52 AM, Edward Diener wrote:
>>>>
>>>>> On 3/17/2011 10:30 PM, Óscar Fuentes wrote:
>>>>>> John McCall<rjmccall at apple.com> writes:
>>>>>>
>>>>>>>>> What do you mean that clang on mingw lacks support ?
>>>>>>>>
>>>>>>>> "lacks *eh* support".
>>>>>>>>
>>>>>>>> eh = exception handling.
>>>>>>>
>>>>>>> Out of curiosity, what's the mingw exception model?
>>>>>>
>>>>>> Last time I checked, official MinGW was configured with setjump/longjump
>>>>>> while other distributions used DWARF2. The latter offers better
>>>>>> performance but fails to work when it has to unwind a stack frame that
>>>>>> belongs to a Windows function (that's the case when you throw an
>>>>>> exception from a callback.)
>>>>>
>>>>> I am stilling searching for the answer whether or not clang, built with
>>>>> MingW/MSYS under Windows, is currently a workable version under Windows
>>>>> with the header files and libraries MingW and gcc supplies. Do you or
>>>>> anybody know this ? Or should I still be waiting on future clang
>>>>> development for this to become a reality ?
>>>>
>>>> It's not going to work perfectly out of the box, especially since we are missing exception-handling support for MinGW.
>>>>
>>>> If you're willing to dig into the guts of the compiler, debug issues, and write patches, that's great. I don't know if it's a day's worth of work or a month's worth of work. But if you just want to use the compiler, I suggest using one of the better-supported platforms and hoping that someone else is going to do the work to make Clang viable on MinGW.
>>>
>>> OK, it sounds like waiting for some future version of clang on Windows
>>> with MingW is best. Good luck in making that happen. I will be a great
>>> boon for Windows programmers to be able to use clang under Windows and
>>> not just under Linux.
>>
>>
>> It does not works only under Linux. clang also support Mac OS, FreeBSD, and lot more OSes.
>
> OK. But when it supports that OS that of course nobody uses I will
> revisit it. Good luck !
I don't know your computer and your linux skills, but you might consider
a virtualised linux, which can (at least with virtualbox) be integrated
seamless into your windows desktop, especially if you've got a dualhead
monitor (the task bar of linux can go to the 2nd monitor). This may be
preferable for you instead of dualbooting, but needs quite some RAM and
a newer machine.
Cornelius
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list