Re: [GIT PULL] unify sparc header files

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

 



On Sat, Jul 05, 2008 at 10:55:10PM +0200, Sam Ravnborg wrote:
> > 
> > So this looks correct except that we include the wrong header file.
> > So the test:
> > #if defined(__sparc__) && defined(__arch64__)
> > 
> > is the bad one.
> ....
> > 
> > We can fix the -Usparc64 for the vmlinux.lds file if the right check is:
> > #if defined(__sparc__) && defined(sparc64)
> 
> I think this is the right way to go so I have locally
> committed the following patch.
Hmm, I was fooled by something else. My sparc64 gcc does NOT
define the sparc64 symbol.
I defines:
__sparc_v9__
and
__arch64__

to say this is sparc64.

So I really need the output of:
touch foo.c; cpp -dM foo.c

to select the right combination of options before I can
proceed.

	Sam
--
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