http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56802
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-04-01 17:01:15 UTC --- I think the trick is to compile a cross compiler and then another cross compiler where the host==target!=build.