From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,aa9edb25013462a1 X-Google-Attributes: gid111c93,public From: Bram Stolk Subject: Re: Alpha/Linux Users - Opinions requested Date: 1999/05/25 Message-ID: <374A8ABF.2A799D2@nuson.nl>#1/1 X-Deja-AN: 481859592 Content-Transfer-Encoding: 7bit References: <37447C8F.A4FCD04E@hammerhead.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@xs4all.nl X-Trace: news1.xs4all.nl 927631877 23089 194.109.62.51 (25 May 1999 11:31:17 GMT) Organization: XS4ALL Internet BV Mime-Version: 1.0 NNTP-Posting-Date: 25 May 1999 11:31:17 GMT Newsgroups: comp.os.linux.alpha "Thaddeus J. Beier" wrote: > 2) Those afore-mentioned 64-bit words were a surprise. There were a > number > of places in my code that I had expected 'long' to be 32 bits. In > particular, > I call Mesa (nee' OpenGL) glDrawPixel commands with an array of > 'unsigned long's > and was surprised that my pictures didn't show up correctly. Converting > everything > to 'int' solved this problem. Still, I'm sure that bugs still await > discovery. What surprised me the most that g++ on alpha will do: sizeof(bool) == 8 64 bits used, to store just a single one! Also ofcourse, sizeof(long) == sizeof(void *) == 8. Some quick-n-dirty programmers use ints to hold ptr values though, and that's a real pain. However, most linux packages are now 64bit safe. Debian/alpha is pretty complete when it comes to available packages. Bram