I have compiled a MIPS glibc2 with -mabi=64, to run under the n64 MIPS memory model over a 64 bit kernel. I want to rebuild the final cross-compiler which will use the headers and libraries from this glibc. There is a little problem, however. GCC compiler isn't using the right ABI when building the objects for the target system, and so it cannot link against libc. The linking attempt to make libgcc_s.so results in tons of messages: ``ABI is incompatible with that of the selected emulation''. What's the right way to set this up?