|
|
2009/3/21 Richard Guenther <richard.guenther@xxxxxxxxx>:
> On Sat, Mar 21, 2009 at 9:53 PM, Kai Tietz <ktietz70@xxxxxxxxxxxxxx> wrote:
>> Hello,
>>
>> this patch adds an -municode switch to mingw targets. By specifying
>> this switch the macro UNICODE gets defined and instead of crt2.o the
>> crt2u.o object file will be used for startup.
>>
>> ChangeLog
>> 2009-03-21 Kai Tietz <kai.tietz@xxxxxxxxxxxxx>
>>
>> * config/i386/mingw.opt (municode): New.
>> * config/i386/mingw32.h (CPP_SPEC): Add municode
>> check to add -DUNICODE.
>> (STARTFILE_SPEC): Add municode check for
>> crt2u.o in unicode case.
>>
>> Is this patch ok to be applied when trunk is in Stage1?
>
> Commandline switches need documenting in doc/invoke.texi in the appropriate
> target specific section.
>
> Richard.
>
I found that -mwindows, -mconsole, -mno-cygwin and -mdll do not have
any documentation in gcc/doc. So I assumed that those kind of
sub-target switches haven't this need. But on the other hand a
documentation for them would be nice, so this is maybe just a bug?
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
|
|