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: Sat, 25 Nov 2006 06:46:35 +0100 (CET) Message-ID: <20061125054635.7481344030@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> Reply-To: ams@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1164433616 4888 80.91.229.2 (25 Nov 2006 05:46:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 05:46:56 +0000 (UTC) Cc: manveru@weez-int.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 25 06:46:53 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 1GnqNF-0000Ak-Fn for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 06:46:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnqNF-0007dG-0V for ged-emacs-devel@m.gmane.org; Sat, 25 Nov 2006 00:46:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GnqN4-0007cz-Cs for emacs-devel@gnu.org; Sat, 25 Nov 2006 00:46:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GnqN2-0007cc-L0 for emacs-devel@gnu.org; Sat, 25 Nov 2006 00:46:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GnqN2-0007cZ-Ip for emacs-devel@gnu.org; Sat, 25 Nov 2006 00:46:36 -0500 Original-Received: from [130.238.19.25] (helo=Psilocybe.Update.UU.SE) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GnqN2-0000hd-It for emacs-devel@gnu.org; Sat, 25 Nov 2006 00:46:36 -0500 Original-Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30270) id 7481344030; Sat, 25 Nov 2006 06:46:35 +0100 (CET) Original-To: Nick Roberts In-reply-to: <17767.53066.391735.78334@kahikatea.snap.net.nz> (message from Nick Roberts on Sat, 25 Nov 2006 18:06:18 +1300) 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:62768 Archived-At: I think this would be a case of the tail wagging the dog. There are over 100 GNU/Linux distributions and I don't think Emacs should have to test for each of them. Aren't there some standards that the distributions conform to? No, sadly. 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. Another way might be to use the output of `gcc -print-search-dirs', and check in which directory crti.o exists in. My two groszy.