[patch 4.5]: Add -municode to mingw targets

Joseph S. Myers joseph@codesourcery.com
Wed Mar 25 13:49:00 GMT 2009


On Wed, 25 Mar 2009, Kai Tietz wrote:

> well, the issue here is that mingw-w64 has also 32-bit support.
> Therefore those new options (like -municode) are available for 32-bit
> variant (with mingw-w64 runtime).

Clearly the two runtimes should merge then.  x86_64-linux doesn't have a 
32-bit runtime different from the i686-linux 32-bit runtime.

x86_64-mingw* and i?86-mingw* -m64 should be identical.  There should be a 
well-defined 64-bit runtime used by both of these.

x86_64-mingw* -m32 and i?86-mingw* should be identical.  There should be a 
well-defined 32-bit runtime used by both of these.

The 32-bit and 64-bit runtimes should have a single set of headers to 
facilitate the use of multilib configurations with both 32-bit and 64-bit 
support.

Both x86_64-mingw* and i?86-mingw* should use the same directory naming 
conventions for where the 32-bit and 64-bit libraries go.

If the different runtimes are an unresolvable fork, the target triplet 
used should still not affect the default for which 32-bit runtime is 
expected by GCC.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list