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,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!lust.ihug.co.nz!ihug.co.nz!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.sys.dec Subject: Re: OpenVMS Still Only 32-Bit Addresses!? Followup-To: comp.sys.dec Date: Thu, 17 Feb 2011 00:59:55 +1300 Organization: Geek Central Message-ID: References: <743a5365-d7b1-4730-bbe1-37e58643972f@z20g2000yqe.googlegroups.com> <117a13ef-2b0b-4418-ad13-aa5abbcd0cf1@w19g2000yqa.googlegroups.com> NNTP-Posting-Host: 118-92-93-33.dsl.dyn.ihug.co.nz Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: lust.ihug.co.nz 1297857596 21081 118.92.93.33 (16 Feb 2011 11:59:56 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Wed, 16 Feb 2011 11:59:56 +0000 (UTC) User-Agent: KNode/4.4.7 Xref: g2news2.google.com comp.sys.dec:3042 In message , Michael Kraemer wrote: > Lawrence D'Oliveiro schrieb: > >> In message , Michael Kraemer wrote: >> >>>The architecture switches may be there, but for an executable you'd need >>>the system libraries too. As it seems to be, Linux can't keep both, >>>32 and 64bit, on the same machine. >> >> ldo@theon:~> ls -ld /lib* >> drwxr-xr-x 14 root root 12288 Feb 2 19:22 /lib >> drwxr-xr-x 4 root root 12288 Feb 2 19:14 /lib32 >> lrwxrwxrwx 1 root root 4 Mar 21 2009 /lib64 -> /lib >> ldo@theon:~> ls -ld /usr/lib* >> drwxr-xr-x 225 root root 135168 Feb 14 22:10 /usr/lib >> drwxr-xr-x 20 root root 20480 Feb 2 19:14 /usr/lib32 >> lrwxrwxrwx 1 root root 3 Mar 21 2009 /usr/lib64 -> lib > > Not at the installation I'm "forced" to use: > > $ls -ld /usr/lib* > drwxr-xr-x 178 root root 102400 2011-01-27 02:18 /usr/lib > drwxr-xr-x 4 root root 4096 2010-01-22 02:17 /usr/lib64 What sort of installation is that? > and it also means that I would have to change the link when > I want to link against /usr/lib. Absolutely should not be necessary. Have a look in your /usr/lib/gcc directory, e.g. ldo@theon:~> ls -ld /usr/lib/gcc/*/ drwxr-xr-x 5 root root 4096 Aug 21 13:25 /usr/lib/gcc/x86_64-linux-gnu/ There should be one of these subdirectories for each architecture that your GCC can (cross-)compile to, containing architecture-specific libraries and include files. Cross-compilation is an integral part of the way GCC is designed.