On Jun 28 2007 04:12, Geert Uytterhoeven wrote: >On Wed, 27 Jun 2007, Randy Dunlap wrote: >> On Wed, 27 Jun 2007 15:57:15 -0700 Randy Dunlap wrote: >> > LDD3 ch. 11 says that long on Sparc64 is 32 bits. >> > Same for "ppc" (don't know which power* arch. they mean by that). >> >> Hm, I suppose that table only applies to userspace, not kernel... > >32-bit userspace? > >On 64-bit, `long' is 64-bit on all platforms supported by Linux. All types are as wide as the compiler makes them. Compiler short int long llong Turbo C 16 16 32 - GCC -m32 16 32 32 64 GCC -m64 16 32 64 64 Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Userspace compiler support of "long long"
- From: Geert Uytterhoeven <[email protected]>
- Re: Userspace compiler support of "long long"
- References:
- Linux Kernel include files
- From: [email protected] (Joerg Schilling)
- Re: Linux Kernel include files
- From: [email protected]
- Re: Linux Kernel include files
- From: [email protected] (Joerg Schilling)
- Re: Linux Kernel include files
- From: David Woodhouse <[email protected]>
- Re: Linux Kernel include files
- From: Adrian Bunk <[email protected]>
- Re: Linux Kernel include files
- From: Kyle Moffett <[email protected]>
- Re: Linux Kernel include files
- From: Adrian Bunk <[email protected]>
- Re: Linux Kernel include files
- From: [email protected] (Joerg Schilling)
- Userspace compiler support of "long long"
- From: Adrian Bunk <[email protected]>
- Re: Userspace compiler support of "long long"
- From: Kyle Moffett <[email protected]>
- Re: Userspace compiler support of "long long"
- From: Randy Dunlap <[email protected]>
- Re: Userspace compiler support of "long long"
- From: Randy Dunlap <[email protected]>
- Re: Userspace compiler support of "long long"
- From: Geert Uytterhoeven <[email protected]>
- Linux Kernel include files
- Prev by Date: RE: [PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.
- Next by Date: Re: [patch 1/3] MAP_NOZERO - implement a new VM_NOZERO/MAP_NOZERO page retirement policy
- Previous by thread: Re: Userspace compiler support of "long long"
- Next by thread: Re: Userspace compiler support of "long long"
- Index(es):