From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <616429A2-F3F1-493E-A0B9-035F5BFC4B10@gmail.com> From: Patrick Kelly To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: <20100330193718.GA3120@polynum.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 30 Mar 2010 16:54:59 -0400 References: <20100330193718.GA3120@polynum.com> Subject: Re: [9fans] ken-cc, 64 bits machine, and 32 bits integers Topicbox-Message-UUID: f9fc0ed6-ead5-11e9-9d60-3106f5b1d025 > "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 > /* shame */ I have only ia32 machines---and single core... and I > haven't > wandered in the sources either... You should at least look at u.h