From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: devon.odell@gmail.com, 9fans@cse.psu.edu Subject: Re: [9fans] 64-Bit programming model. From: Charles Forsyth Date: Fri, 30 Sep 2005 19:07:56 +0100 In-Reply-To: <9ab217670509300914h1f61ababh@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: 92868a1a-ead0-11e9-9d60-3106f5b1d025 > At least in Solaris the #define for both amd64 and SPARC64 is `LP64'. > This is found in one of the include files under feature_tests.h (see > cvs.opensolaris.org). yes, they went for the model where long changes size like pointers. the difference is that relatively few applications see pointer representations but quite a few rely on shifts, masks, etc. of `long' that are functions of 32 not 64. but obviously enough ifdefs will compensate for everything, as usual!