From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.bugs Subject: weird LD definition in src/Makefile Date: Mon, 19 Aug 2002 13:56:29 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029779832 814 127.0.0.1 (19 Aug 2002 17:57:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 Aug 2002 17:57:12 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17gqm5-0000CU-00 for ; Mon, 19 Aug 2002 19:57:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gqnB-0000dk-00; Mon, 19 Aug 2002 13:58:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17gqlX-0000HR-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 19 Aug 2002 13:56:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17gqlV-0000Gc-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 19 Aug 2002 13:56:34 -0400 Original-Received: from trinity.ranger.supernews.net ([216.168.1.22] helo=trinity.supernews.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 17gqlU-0000GX-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 19 Aug 2002 13:56:32 -0400 Original-Received: from eeyore.ins.cwru.edu ([129.22.8.17] ident=news) by trinity.supernews.net with esmtp (Exim 3.36 #1) id 17gqlT-000PCD-00 for gnu-emacs-bug@moderators.isc.org; Mon, 19 Aug 2002 17:56:31 +0000 Original-Received: by eeyore.INS.cwru.edu (8.9.3/CWRU-2.8-bsdi) id NAA22127; Mon, 19 Aug 2002 13:56:30 -0400 (EDT) (from news for gnu-emacs-bug@moderators.isc.org) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 16 Original-NNTP-Posting-Host: multivac.student.cwru.edu Original-X-Trace: eeyore.INS.cwru.edu 1029779790 22116 129.22.96.25 (19 Aug 2002 17:56:30 GMT) Original-X-Complaints-To: abuse@po.cwru.edu Original-NNTP-Posting-Date: 19 Aug 2002 17:56:30 GMT Mail-Copies-To: nobody User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:NM8rg8O4tOwlcqd6HcFB/kE0HGw= Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 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:3245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3245 A while ago I posted that the Emacs build system was defining LD=ld in src/Makefile on my unusually configured GNU/Linux system. Various things have changed on my system since then, and now I get "LD=$(CC) -nostdlib", which still causes problems (Emacs doesn't know where my libc is, but gcc does). I'm not very familiar with Emacs's build system, but I think my system ought to use ORDINARY_LINK. src/s/gnu-linux.h doesn't mention any of ORDINARY_LINK, COFF_ENCAPSULATE, or LINKER, so how is it decided what to use? What's the relationship/difference between Makefile.c and Makefile.in? I noticed some mention of LINKER_WAS_SPECIFIED; can I specify a linker somehow? But even if I did, I guess STARTFILES might not match if the guessed linker is wrong. I have to arrange for the guess to be right. But what information is the guess based on? paul