Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764121AbXF1GuT (ORCPT ); Thu, 28 Jun 2007 02:50:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759062AbXF1GuH (ORCPT ); Thu, 28 Jun 2007 02:50:07 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:11267 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759486AbXF1GuF (ORCPT ); Thu, 28 Jun 2007 02:50:05 -0400 Date: Thu, 28 Jun 2007 08:50:03 +0200 (CEST) From: Jan Engelhardt To: Geert Uytterhoeven cc: Randy Dunlap , Kyle Moffett , Adrian Bunk , LKML Kernel , David Woodhouse , david@lang.hm, linux-arch@vger.kernel.org Subject: Re: Userspace compiler support of "long long" In-Reply-To: Message-ID: References: <467afc63.OnsqEXOk5zqMYzym%Joerg.Schilling@fokus.fraunhofer.de> <467b0bf2.Xfs7T8Ys4nY9ZNLW%Joerg.Schilling@fokus.fraunhofer.de> <1182483527.10524.31.camel@shinybook.infradead.org> <20070622150038.GN23017@stusta.de> <20070627154046.GN1094@stusta.de> <468287a8.spBb6PdAZ4QV0j2Y%Joerg.Schilling@fokus.fraunhofer.de> <20070627173240.GR1094@stusta.de> <20070627155715.60ebc48f.randy.dunlap@oracle.com> <20070627161648.52d3786d.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 873 Lines: 29 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/