From: Sam Ravnborg <sam@xxxxxxxxxxxx> Date: Sat, 30 Mar 2013 22:57:50 +0100 > On Sat, Mar 30, 2013 at 05:46:22PM -0400, David Miller wrote: >> From: Sam Ravnborg <sam@xxxxxxxxxxxx> >> Date: Sat, 30 Mar 2013 22:44:23 +0100 >> >> > The gcc version I use do not include a definition of __linux__. >> >> Then it's not a gcc targetting Linux. > > It was built some time ago using crosstool-ng. I added ssupport for sparc > some time ago - but seems I got it wrong. I should fix that... > > Do you have a configure command I can use to build my own gcc's > for sparc32 + sparc64 for now? The only critical option is "--enable-targets=all" which, when building a 32-bit compiler binary, will enable support for 64-bit code generation. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html