From mboxrd@z Thu Jan 1 00:00:00 1970 From: tlaronde@polynum.com Date: Wed, 31 Mar 2010 00:34:31 +0200 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20100330223431.GB1047@polynum.com> References: <20100330193718.GA3120@polynum.com> <616429A2-F3F1-493E-A0B9-035F5BFC4B10@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <616429A2-F3F1-493E-A0B9-035F5BFC4B10@gmail.com> User-Agent: Mutt/1.4.2.3i Subject: Re: [9fans] ken-cc, 64 bits machine, and 32 bits integers Topicbox-Message-UUID: fa0c390a-ead5-11e9-9d60-3106f5b1d025 On Tue, Mar 30, 2010 at 04:54:59PM -0400, Patrick Kelly wrote: > >"long" is guaranteed to be at least 32 bits by C89. So this could do, > >but could be a little overkill: > > >1) If a compiler set on a 32 bits machine, "long" to be 64 bits? (I > >haven't looked at the sources, but I guess it is not the case for > >ken-cc > >suite). > > >2) On a 64 bits (since Charles Forsyth has done work for amd64 at > >least > >on ken-cc, this exists), I imagine "long" is an octa (64 bits). > > Useful reading: > http://plan9.bell-labs.com/sys/doc/comp.html > http://plan9.bell-labs.com/sys/doc/compiler.html I have the printed docs (from Vita Nuova), have read them (some times ago), but probably missed the bits because I was not focused on these details then ;) -- Thierry Laronde (Alceste) http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C