[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 21.2 uses ld instead of gcc for linking
From: |
Paul Jarc |
Subject: |
Re: Emacs 21.2 uses ld instead of gcc for linking |
Date: |
Fri, 12 Apr 2002 11:52:29 -0400 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) |
"Eli Zaretskii" <eliz@is.elta.co.il> wrote:
> From prj@po.cwru.edu (Paul Jarc)
>> 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.
src/s/gnu-linux.h does not mention any of ORDINARY_LINK,
COFF_ENCAPSULATE, or LINKER. Should it? "cpp Makefile.in" produces
"LD=ld", though I don't know any way to make it show *how* it produced
that. Where should I look next?
paul