distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option() currently only recognizes "gcc" or "gcc-${version" (e.g. "gcc-4.4.2"), but it doesn't recognize "${configuration_name}-gcc" (e.g. "x86_64-pc- "x86_64-pc-linux-gnu-gcc-4.4.2"). Python is configured with such fully qualified configuration names in some distributions (e.g. Gentoo). Configuration names are described in: http://sourceware.org/autobook/autobook/autobook_17.htmlhttp://www.gnu.org/software/autoconf/manual/html_node/Specifying-
This bug tracker removes parts of splitted, long lines when the previous line was ending with '-' :( . There should be: "but it doesn't recognize "${configuration_name}-gcc" (e.g. "x86_64-pc-linux-gnu-gcc") or "${configuration_name}-gcc-${version}" (e.g. "x86_64-pc-linux-gnu-gcc-4.4.2")." The second URL has 2 parts: http://www.gnu.org/software/autoconf/manual/html_node/ Specifying-Target-Triplets.html