From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,ddd5f2f431fd91ca X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Michael Kraemer Newsgroups: comp.sys.dec Subject: Re: OpenVMS Still Only 32-Bit Addresses!? Date: Tue, 15 Feb 2011 09:31:05 +0100 Organization: T-Online Message-ID: References: <743a5365-d7b1-4730-bbe1-37e58643972f@z20g2000yqe.googlegroups.com> <117a13ef-2b0b-4418-ad13-aa5abbcd0cf1@w19g2000yqa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1297758665 02 n16633 55OkC7+vgk-7g82 110215 08:31:05 X-Complaints-To: usenet-abuse@t-online.de X-ID: bu9guqZDweY++iQb2d3eS-+CC-G+9N2m6JRuFSUi7ydOl5WuACdBUL User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; de-DE; rv:1.3) Gecko/20030616 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.sys.dec:2864 Lawrence D'Oliveiro schrieb: > In message , Michael Kraemer wrote: > > >>... but the compiler should operate in "legacy mode" >>by default. > > > Why can’t it be the user’s choice? > Compilers generating 32 or 64bit code *give* the user the choice. However, as said before, it is good practice to have 32 bits by default. In particular the typical VMS customer welcomes this behaviour. And I would second that. > >>Linux is the worst case I've encountered so far, >>it seems you need to run on >>a 64bit machine to generate 64bit executables, >>and, to make matters even worse, >>FP results sometimes are different for 32/64bit executables. > > > I thought GCC could cross-compile from any architecture to any architecture. That's very theoretical, I'd say. You'd still need all the other system's libraries I guess. On the boxes I'm forced to work on, they're not available it seems. Maybe because Linux can't mix both bittedness on the same machine.