[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pretest compilation problem
From: |
Glenn Morris |
Subject: |
Re: Pretest compilation problem |
Date: |
Wed, 16 Feb 2011 14:11:37 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Chong Yidong wrote:
> Adding $(CFLAGS) sounds correct,
ALL_CFLAGS used to be there in Emacs 23.1. It was removed in r1.461,
2009-12-16, by Andreas ("Don't compile prefix-args.c twice.")
I'm sure he will be happy to provide a detailed explanation.
http://cvs.savannah.gnu.org/viewvc/emacs/src/Makefile.in?root=emacs&r1=1.460&r2=1.461&pathrev=MAIN
> except for a comment about this rule in Makefile.in, which I don't
> understand:
>
> /* We do not use ALL_LDFLAGS because LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE
> often contain options that have to do with using Emacs''s crt0,
> which are only good with temacs. */
IIRC, the Makefiles tried to make a distinction between flags that were
only needed to link temacs (see the various TEMACS variables, eg
LD_SWITCH_SYSTEM_TEMACS), and flags that were needed to compile separate
things like prefix-args. It's quite possible that the comment is
inaccurate or outdated though.
- Pretest compilation problem, Chong Yidong, 2011/02/16
- Re: Pretest compilation problem, Andreas Schwab, 2011/02/16
- CC, CFLAGS, and -m32 [was Re: Pretest compilation problem], Glenn Morris, 2011/02/16
- Re: CC, CFLAGS, and -m32 [was Re: Pretest compilation problem], Paul Eggert, 2011/02/17
- Re: CC, CFLAGS, and -m32 [was Re: Pretest compilation problem], Chong Yidong, 2011/02/19
- Re: CC, CFLAGS, and -m32 [was Re: Pretest compilation problem], Paul Eggert, 2011/02/19
- Re: CC, CFLAGS, and -m32 [was Re: Pretest compilation problem], Miles Bader, 2011/02/17
Re: Pretest compilation problem,
Glenn Morris <=