mingw64 32 位 GCC 参数是:
~~~
C:\PRO_DEV\mingw-w64\mingw32\bin>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/PRO_DEV/mingw-w64/mingw32/bin/../libexec/gcc/i686-w64-min
gw32/6.2.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-6.2.0/configure --host=i686-w64-mingw32 --buil
d=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32 --with-sysroot=/c
/mingw620/i686-620-posix-dwarf-rt_v5-rev1/mingw32 --enable-shared --enable-stati
c --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-tim
e=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --
enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable
-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-sj
lj-exceptions --with-dwarf2 --disable-isl-version-check --disable-libstdcxx-pch
--disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-reg
istry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-
ld --with-arch=i686 --with-tune=generic --with-libiconv --with-system-zlib --wit
h-gmp=/c/mingw620/prerequisites/i686-w64-mingw32-static --with-mpfr=/c/mingw620/
prerequisites/i686-w64-mingw32-static --with-mpc=/c/mingw620/prerequisites/i686-
w64-mingw32-static --with-isl=/c/mingw620/prerequisites/i686-w64-mingw32-static
--with-pkgversion='i686-posix-dwarf-rev1, Built by MinGW-W64 project' --with-bug
url=
http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw620/i6
86-620-posix-dwarf-rt_v5-rev1/mingw32/opt/include -I/c/mingw620/prerequisites/i6
86-zlib-static/include -I/c/mingw620/prerequisites/i686-w64-mingw32-static/inclu
de' CXXFLAGS='-O2 -pipe -I/c/mingw620/i686-620-posix-dwarf-rt_v5-rev1/mingw32/op
t/include -I/c/mingw620/prerequisites/i686-zlib-static/include -I/c/mingw620/pre
requisites/i686-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw6
20/i686-620-posix-dwarf-rt_v5-rev1/mingw32/opt/lib -L/c/mingw620/prerequisites/i
686-zlib-static/lib -L/c/mingw620/prerequisites/i686-w64-mingw32-static/lib -Wl,
--large-address-aware'
Thread model: posix
gcc version 6.2.0 (i686-posix-dwarf-rev1, Built by MinGW-W64 project)
~~~
TDM gcc 32 位参数为:
~~~
C:\PRO_DEV\TDM-GCC-32\bin>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/PRO_DEV/TDM-GCC-32/bin/../libexec/gcc/mingw32/5.1.0/lto-w
rapper.exe
Target: mingw32
Configured with: ../../../src/gcc-5.1.0/configure --build=mingw32 --enable-langu
ages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-g
raphite --enable-libstdcxx-debug --enable-threads=posix --enable-version-specifi
c-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable
-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-reg
istry --disable-symvers --enable-cxx-flags='-fno-function-sections -fno-data-sec
tions -DWINPTHREAD_STATIC' --prefix=/mingw32tdm --with-local-prefix=/mingw32tdm
--with-pkgversion=tdm-1 --enable-sjlj-exceptions --with-bugurl=
http://tdm-gcc.tdragon.net/bugsThread model: posix
gcc version 5.1.0 (tdm-1)
~~~
@
owt5008137 @
wwqgtxx