From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rdiezmail-emacs@yahoo.de Newsgroups: gmane.emacs.devel Subject: Hard-coded paths to crt1.o and the like Date: Tue, 12 Feb 2008 14:10:00 +0000 (GMT) Message-ID: <763967.69672.qm@web25401.mail.ukl.yahoo.com> Reply-To: rdiezmail-emacs@yahoo.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1202844327 17853 80.91.229.12 (12 Feb 2008 19:25:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 19:25:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 12 20:25:41 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JP0l8-0000Mi-Se for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 20:25:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP0kf-0001Fh-9O for ged-emacs-devel@m.gmane.org; Tue, 12 Feb 2008 14:25:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JOvpq-0002Za-Cg for emacs-devel@gnu.org; Tue, 12 Feb 2008 09:10:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JOvpo-0002XJ-GC for emacs-devel@gnu.org; Tue, 12 Feb 2008 09:10:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JOvpo-0002X7-8x for emacs-devel@gnu.org; Tue, 12 Feb 2008 09:10:08 -0500 Original-Received: from web25401.mail.ukl.yahoo.com ([217.12.10.135]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JOvpn-0005WJ-TD for emacs-devel@gnu.org; Tue, 12 Feb 2008 09:10:08 -0500 Original-Received: (qmail 74221 invoked by uid 60001); 12 Feb 2008 14:10:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Sb1obudn73VlH57JfiRfhbM/I/T7mzPa5JIm1PUFrXBA4JM44otqBnvRGEeFprX1la0cnGLkSAEhvxbiINr9/uh77E5REUw21hXqPdCGvwiE52FEOrjKMzlHxd04dWoMKHVKHh2rso5YmcEkjKqP2B1r8NWXAyiXGhVl2Wa7+F8=; X-YMail-OSG: hYY89oYVM1naQhh86mxLoh2G6l7fPX0FLLVq4YsHBaQomRnzEioW6gJovPFGlW7eCIxoSjsdZ9sh3a3OqJkN2GEUbCkVBl2yRLgyniXA1_5DPTFKS1TSJlqwDw4- Original-Received: from [82.207.169.34] by web25401.mail.ukl.yahoo.com via HTTP; Tue, 12 Feb 2008 14:10:00 GMT X-Mailer: YahooMailWebService/0.7.162 X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-Mailman-Approved-At: Tue, 12 Feb 2008 14:25:05 -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:88899 Archived-At: Hi all: I recently noticed that a particular embedded development system comes with= a precompiled vim, but without emacs. Such an injustice! 8-) It turns out there is probably a reason: I've been trying to compile emacs-= 22.1 with a cross-compiler, and also with different native compiler and lib= rary versions, and it's not straightforward. Apart from the following 'configure' parameter, cross-compiling and the lik= e does not seem to be documented: ./configure --help =20 [...] =20 --host=3DHOST cross-compile to build programs to run on HOST [BUILD] =20 When using a native compiler, but a different libc version to the one that'= s already installed, the main hurdle seems to be the hard-coded references = to the follwoing files. That's also a problem when cross-compiling. crt1.o crti.o crtn.o Hard-coded paths in build scripts are always a bad idea (in my opinion). Ca= n someone introduce some environment variable that, if defined, would repla= ce the hard-coded /usr/lib/ paths? That variable should be listed in "./con= figure --help", next to "LDFLAGS" and friends. =20 I've already posted in this newsgroup about this issue, and e-mailed Eli Za= retskii directly, but I haven't heard since, and I'm not giving up just yet= . 8-) See the following message from Peter Brett for more information, he had alr= eady tried cross-compiling long before I did: http://www.groupsrv.com/computers/about161848.html =20 Many thanks in advance, Ruben =0A=0A=0A Heute schon einen Blick in die Zukunft von E-Mails wagen? Ve= rsuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail