-m32 (making 32bit executables with mingw-64)

2009-02-25
2013-06-06
  • Alexey Pushkin
    Alexey Pushkin
    2009-02-25

    Hi,
    is the -m32 GCC option supposed to work ?
    (I mean building 32-bit executables with mingw-w64 toolchain).

    Can I file it as a "feature request" ?

    Regards.

     
    • Kai Tietz
      Kai Tietz
      2009-02-25

      Hello,

      we support by our daily builds just 64-bit, therefore the option -m32 has no effect at the moment. But you can build our crt also for 32-bit, if you like.
      We prepared already a patch for multilib (32-bit and 64-bit support within one toolchain), but we want to put it first mainline of gcc before we begin to do for it also daily builds.

      We plan, when gcc 4.4 is getting finally released, to extend our collection of precompiled toolchains by the 32-bit variant (and when offical support of multilib is present on gcc trunk we will do the same for it).

      Yes, you can file a feature request for it.

      Cheers,
      Kai

       
    • Alexey Pushkin
      Alexey Pushkin
      2009-02-25

      OK, thank you.

      P.S. One may ask why I want this option. Here it is:
      (a) your runtime is more feature-rich than the "original" mingw32 one
      (b) bugs get fixed much quicker here :-)

       
      • NightStrike
        NightStrike
        2009-02-25

        >(a) your runtime is more feature-rich than the "original" mingw32 one
        >(b) bugs get fixed much quicker here :-)

        Thank you for noticing :) :)

        Tell your friends!!