[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
weird LD definition in src/Makefile
From: |
Paul Jarc |
Subject: |
weird LD definition in src/Makefile |
Date: |
Mon, 19 Aug 2002 13:56:29 -0400 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) |
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
- weird LD definition in src/Makefile,
Paul Jarc <=