[cfe-dev] Patch to distinguish the OS when detecting targets

Eli Friedman eli.friedman at gmail.com
Tue Aug 19 19:17:41 PDT 2008


On Tue, Aug 19, 2008 at 2:30 PM, Argiris Kirtzidis <akyrtzi at gmail.com> wrote:
> Eli Friedman wrote:
>>
>> In the category of
>> unknown OSes, I guess I probably need to add Windows-x86 and some
>> *BSDs.  That said, there isn't any existing information in Targets.cpp
>> on Windows or *BSD; I don't know what defines those targets are
>> supposed to define, or whether there are any interesting differences
>> in the data layout. Any information here would be welcome.
>>
>
> Just FYI, 'wchar_t' on windows (mingw32/win32 target) should be 2 bytes.

Okay, thanks.

For the moment, I think I'm going to make generic per-processor
targets, and default to those, so that nothing significant breaks that
was previously working.

-Eli



More information about the cfe-dev mailing list