https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101655
--- Comment #11 from bootmgr at 163 dot com <bootmgr at 163 dot com> --- (In reply to Andreas Schwab from comment #10) > In a canadian cross, you don't compile the target libraries. They are > already built while building the cross compiler. Isn't this a bug? I manually reconfigured libgcc, and it can detect x86_46-w64-mingw32-{gcc,g++}. But I did not continue to build it. Why can't the target library be used for Canadian cross? I have another question. Why can't libgcc,libquadmath,libvtv and libstdc++ detect the CFLAGS,CXXFLAGS or CPPFALGS environment variable when I build cross compiler?