Cauchy Song wrote:
i686-pc-mingw32-gcc -O2 ... /opt/cvs_work/gcc40-branch/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from /opt/cvs_work/gcc40-branch/gcc/libgcc2.c:56: /opt/cvs_work/gcc40-branch/gcc/libgcc2.h:34: warning: ignoring #pragma GCC visibility /opt/cvs_work/gcc40-branch/gcc/libgcc2.h:117: error: no data type for mode `SC'
Perhaps you are using the wrong cross-compiler for this canandian cross build? You can check by adding -v to the above compiler command.
When building a canadian cross, you must use a cross compiler of the same gcc version. In this case, the i686-pc-mingw32-gcc must be built from the same gcc-4.0-branch sources you are using for the canadian cross build.
You should consider using --prefix options so that each gcc version gets installed in a different place. This will help avoid confusion about gcc versions.
-- Jim Wilson, GNU Tools Support, http://www.specifix.com