all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Emacs 21.2 uses ld instead of gcc for linking
Date: Fri, 12 Apr 2002 09:51:40 +0300	[thread overview]
Message-ID: <2110-Fri12Apr2002095140+0300-eliz@is.elta.co.il> (raw)
In-Reply-To: <m38z7um6h7.fsf@multivac.cwru.edu> (prj@po.cwru.edu)

> 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).

  reply	other threads:[~2002-04-12  6:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-11 18:31 Emacs 21.2 uses ld instead of gcc for linking Paul Jarc
2002-04-12  6:51 ` Eli Zaretskii [this message]
2002-04-12 15:52   ` Paul Jarc
2002-04-12 18:49     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2110-Fri12Apr2002095140+0300-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.