[cfe-dev] stddef doesn't support for wint_t at windows mingw.

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Sun Aug 9 17:15:48 PDT 2009


System root? On windows platform, there is no such an system root:(
And if there is such one, it's clang/1.0/include, or mingw/include,
and either contain header files include in llvm-installed/Headers.

2009/8/10, Eli Friedman <eli.friedman at gmail.com>:
> On Sun, Aug 9, 2009 at 4:49 PM, Eli Friedman<eli.friedman at gmail.com> wrote:
>> On Sun, Aug 9, 2009 at 4:19 PM, 罗勇刚(Yonggang Luo)<luoyonggang at gmail.com>
>> wrote:
>>>> output of something like "clang -v hello.c"?
>>>
>>> Because of I copied those files that placed at Headers into
>>> D:/Tools/Building/llvm/lib/clang/1.0/include,
>>> And also I copied those headers of mingw-rt and also mingw-w32 into
>>> D:/Tools/Building/llvm/lib/clang/1.0/include
>>> And I used three file comes from Headers overwrite those files comes
>>> from mingw.(float.h stdint.h limits.h)
>>>
>>> So it's working.
>>
>> Hmm, okay... that sounds like a bug in the build system.  The files in
>> question are supposed to be copied automatically.
>
> Wait, no, it sounds more like it doesn't know where to find the system
> headers?  On a normal Unix-y system, the relevant headers are in
> /include or /usr/include, but that obviously isn't going to work here
> without some external help... I think some variant of the --sysroot
> option might work?
>
> -Eli
>
> -Eli
>

-- 
从我的移动设备发送

         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo




More information about the cfe-dev mailing list