Gcc --带-arch-32=?

Gcc --带-arch-32=?,gcc,configuration,cpu-architecture,Gcc,Configuration,Cpu Architecture,我试图在ubuntu 12.04(64位)上构建GCC4.8主干 当我使用配置时 ../gcc-trunk/configure -v --with-pkgversion='ubuntu12.04-64' --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --with-system-zlib --libe

我试图在ubuntu 12.04(64位)上构建GCC4.8主干

当我使用配置时

../gcc-trunk/configure -v --with-pkgversion='ubuntu12.04-64' --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
我得到以下错误:

In file included from /usr/include/fenv.h:58:0,
                 from ../../../../gcc-trunk/libquadmath/math/ccoshq.c:23:
../../../../gcc-trunk/libquadmath/math/ccoshq.c: In function ‘ccoshq’:
/usr/include/bits/fenv.h:116:4: error: impossible constraint in ‘asm’
    __asm__ __volatile__ ("divss %0, %0 " : : "x" (__f));
    ^
/usr/include/bits/fenv.h:116:4: error: impossible constraint in ‘asm’
    __asm__ __volatile__ ("divss %0, %0 " : : "x" (__f));
但在我删除“-with-arch-32=i686”之后,一切都很好。 我的cpu是Intel(R)Core(TM)2四cpu Q9400。 那么,我应该在“-with-arch-32”选项中使用什么呢?
谢谢。

约束
x
表示SSE注册表。架构
i686
未实现SSE insns。您可以使用的最旧版本是
pentium3


这取决于您打算在何处运行此编译器生成的二进制文件。如果只供您自己使用,您只需使用
core2

进行配置,谢谢您的帮助!我还有一个问题:您知道--with-arch-32和--with-arch-64之间的区别吗?请查看安装文档。它在编译64位代码时设置默认的arch。使用-mavx