From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,317171aef7c4c3d7,start X-Google-Attributes: gid111c93,public From: Daniel Kharitonov Subject: 64 bit newbie questions Date: 1999/01/13 Message-ID: <369c4f1b.0@chip.csa.ru>#1/1 X-Deja-AN: 432048633 Organization: AMTEL User-Agent: tin/pre-1.4-980818 ("Laura") (UNIX) (FreeBSD/2.2.5-RELEASE (i386)) Newsgroups: comp.os.linux.alpha Hi, Linux/Alpha gurus ! I have a bunch of questions, that I suppose are very easy to answer, though I failed finding answers in HOWTOs and newsgroup archives. 1. I do understand, that Alpha processor is capable of 64-bit arithmetics and, probably, hardware support for memory management. I do understand, that Linux (as well as NT) was developed on 32-bit platforms (and I'm using Linux on Intel for several years). I suppose, that if processor is able to do 64 arithmetics and runs 32-bit operating system, you can just execute 64-bit instructions in your programs (add, multiply, etc). 2. Now to what I do not understand: If I'm right in all of the above, you can run calculations with 64 bit arithmetics under Linux(as well as NT) on Alpha. To do this in comfortable way, you must have 64-bit support in code generation (read, compilers must support this). Are gcc and other GNU compilers and debugging tools capable of 64 bit code generation ? At the same time you will not be able to allocate and address more than 2^32 bytes under this operating systems. The systems, capable of this are called "64 bit" (for example, Digital UNIX). Am I right ? -- Regards, Daniel Kharitonov ( dan "at" amtel "dot" ru) Please, send your technical questions to newsgroup, don't mail me directly.