From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: Problems compiling on Archlinux 64 Date: Sun, 26 Nov 2006 22:40:31 +0100 (CET) Message-ID: <20061126214031.A5ACD44078@Psilocybe.Update.UU.SE> References: <200611212055.01073.manveru@weez-int.com> <200611221029.57786.manveru@weez-int.com> <20061122115329.GA2837@kobe.laptop> <200611241027.14530.manveru@weez-int.com> <17767.53066.391735.78334@kahikatea.snap.net.nz> <20061125054635.7481344030@Psilocybe.Update.UU.SE> <87zmadlwvx.fsf@stupidchicken.com> Reply-To: ams@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1164577265 11152 80.91.229.2 (26 Nov 2006 21:41:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Nov 2006 21:41:05 +0000 (UTC) Cc: manveru@weez-int.com, nickrob@snap.net.nz, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 26 22:40:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GoRk3-0000wP-MM for ged-emacs-devel@m.gmane.org; Sun, 26 Nov 2006 22:40:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoRk3-0003Kj-8m for ged-emacs-devel@m.gmane.org; Sun, 26 Nov 2006 16:40:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GoRjm-0003Ij-VC for emacs-devel@gnu.org; Sun, 26 Nov 2006 16:40:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GoRjk-0003He-Vn for emacs-devel@gnu.org; Sun, 26 Nov 2006 16:40:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoRjk-0003HZ-RX for emacs-devel@gnu.org; Sun, 26 Nov 2006 16:40:32 -0500 Original-Received: from [130.238.19.25] (helo=Psilocybe.Update.UU.SE) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GoRjk-0000wm-NH for emacs-devel@gnu.org; Sun, 26 Nov 2006 16:40:32 -0500 Original-Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30270) id A5ACD44078; Sun, 26 Nov 2006 22:40:31 +0100 (CET) Original-To: Chong Yidong In-reply-to: <87zmadlwvx.fsf@stupidchicken.com> (message from Chong Yidong on Sun, 26 Nov 2006 16:29:38 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:62824 Archived-At: > Host libraries are supposed to be put in /usr/lib, and not > /usr/lib64 if the host is 64-bit, so the best/simplest solution > is probably to not use /usr/lib64 at all, and mention in > etc/PROBLEMS that on 64-bit GNU/Linux systems that install 64-bit > libraries in /usr/lib64 (and 32-bit in /usr/lib) that one has to > modify m/amdx86-64.h or something along those lines. According to the OP, As far as i know quite some distributions use /usr/lib64 to use both 64bit and 32bit (in /usr/lib) libraries. However, distributions who do not support 32bit libs at all only use /usr/lib The fix I suggested was to use /usr/lib64 if that directory exists, and /usr/lib otherwise. Do you think it is not right? If it works, I think it is right. I was under the impression that it didn't work, and people were comming up with strange solutions that would check what distribution of GNU/Linux was being used and pick the directory that way.