From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b19d8cbb0df4a4a3 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-01-11 06:03:49 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: lyngwyst@aol.com (Jay Braun) Newsgroups: comp.os.linux.alpha Subject: Re: gcc on alpha Date: 11 Jan 2002 06:03:48 -0800 Organization: http://groups.google.com/ Message-ID: <4ce97a1a.0201110603.65832fb@posting.google.com> References: <4ce97a1a.0201091246.5bb3658d@posting.google.com> <87zo3lv18o.fsf@student.uni-tuebingen.de> NNTP-Posting-Host: 128.149.231.143 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1010757829 16597 127.0.0.1 (11 Jan 2002 14:03:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Jan 2002 14:03:49 GMT Xref: archiver1.google.com comp.os.linux.alpha:4623 > > > Is it safe to assume that it does so on any 64-bit Linux? > > I wouldn't think so. Anyway, I'd rather try to code in a way that is > independend on the size of a pointer, which isn't really hard. > > Falk Sorry, my question was not clear. By "safe to assume", I was referring not to coding practices (you are correct; the code should not be tied to 32- or 64-bit architecture), but to the degree to which gcc is tied to the capabilities of the operating system. Here's my issue in more detail: I have a simulation application that will, in the next few years, begin to model situations that will require > 4 GB of virtual address space. This means that I need a 64-bit processor, a 64-bit OS, and a C implementation that supports 64-bit addresses. The application already runs on Linux. The assumption that I am not sure about: Since gcc is the implementation tool of Linux, the gcc version delivered with a 64-bit Linux implementation will support 64-bit addresses. By the way, does anyone know what the highest virtual address space is on Alpha Linux? Most 64-bit OSs seem to use 43 or 44 bits; this is way more than enough, but I was just curious. Even 36 bits (64 GB) will be enough for my application. Jay