From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 21.2 uses ld instead of gcc for linking Date: Fri, 12 Apr 2002 09:51:40 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <2110-Fri12Apr2002095140+0300-eliz@is.elta.co.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1018594631 26228 127.0.0.1 (12 Apr 2002 06:57:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 12 Apr 2002 06:57:11 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16vuzf-0006ov-00 for ; Fri, 12 Apr 2002 08:57:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vuze-0002VF-00; Fri, 12 Apr 2002 02:57:10 -0400 Original-Received: from frigg.inter.net.il ([192.114.186.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16vuyy-0002UA-00 for ; Fri, 12 Apr 2002 02:56:28 -0400 Original-Received: from zaretsky (diup-216-64.inter.net.il [213.8.216.64]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id BID49655; Fri, 12 Apr 2002 09:56:19 +0300 (IDT) Original-To: prj@po.cwru.edu X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: (prj@po.cwru.edu) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:596 > From: prj@po.cwru.edu (Paul Jarc) > Newsgroups: gnu.emacs.bug > Date: Thu, 11 Apr 2002 14:31:58 -0400 > > I'm using gcc 3.0.4, binutils 2.12, and RedHat's glibc 2.2.4-19.3. > > Emacs 21.2's build process uses ld for linking in some cases and gcc > for others. This shouldn't happen: in a normal link, src/Makefile.in defines either LD=$(CC) or LD="$(CC) -nostdlib", AFAICS. This works either automatically or because your src/s/OS.h file defines ORDINARY_LINK. So please try to find out why in your case LD was defined to `ld' instead. > It seems to me gcc should be used for linking in all cases. Sure; and it does for me (but I don't have Red Hat).