Re: [PATCH 2/5] sparc: define __linux__ to fix defconfig build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux