[Bug ada/56909] [4.8 regression] s-atopri.adb:multiple undefined references on mingw32

mail2arthur at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 17 21:02:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56909

--- Comment #14 from Arthur Zhang <mail2arthur at gmail dot com> 2013-04-17 21:02:14 UTC ---
(In reply to comment #13)
> > What is the benefit to use '--build=i686-pc-mingw32' than '--with-arch=i686'?
> 
> It doesn't force -march=i686 by default.

Why below output has '-march=pentiumpro'?

bash-3.1$ gcc -v  -o t.exe ./test.c
Using built-in specs.
COLLECT_GCC=c:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/i686-pc-mingw32/4.8.0/lto-wrappe
r.exe
Target: i686-pc-mingw32
Configured with: ../gcc-4.8.0/configure
--enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared
--enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug
--enable-version-specific-r
untime-libs --build=i686-pc-mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.8.0 (GCC)
COLLECT_GCC_OPTIONS='-v' '-o' 't.exe' '-mtune=generic' '-march=pentiumpro'
...



More information about the Gcc-bugs mailing list