unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Alan Mackenzie <acm@muc.de>
Cc: emacs-devel@gnu.org
Subject: Re: make maintainer-clean invokes gcc.  It shouldn't, surely?
Date: Wed, 30 Jul 2008 15:29:40 -0700	[thread overview]
Message-ID: <200807302229.m6UMTewO010817@sallyv1.ics.uci.edu> (raw)
In-Reply-To: <20080730132005.GC3952@muc.de> (Alan Mackenzie's message of "Wed,  30 Jul 2008 13:20:05 +0000")

Alan Mackenzie <acm@muc.de> writes:

  > Hi, Emacs, 
  > 
  > I'm going mad.  I'm going round and round in circles in update hell.
  > 
  > I couldn't build Emacs last night or this morning, so in the end I
  > copied my entire emacs directory to somewhere new, and did 
  > 
  >    % make maintainer-clean
  > 
  > on it.  Guess what?  Somehow, it calls gcc in an attempt to compile
  > .../src/Makefile.c
  > 
  > make maintainer-clean is meant just to delete everything apart from the
  > raw source.  So how does it go about this?  rm -rf *.o *.elc ......???

I would advice you build in a separate directory.  (I always do).
mkdir /tmp/objs
cd /tmp/objs
/PATH_TO_EMACS_SOURCES/configure
make

If things go south, just remove /tmp/objs and restart.   From
time to time you might have to remove loaddefs.el or do a "make maintainer-clean",
but in general things work without hitches.




      parent reply	other threads:[~2008-07-30 22:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-30 13:20 make maintainer-clean invokes gcc. It shouldn't, surely? Alan Mackenzie
2008-07-30 13:41 ` Juanma Barranquero
2008-07-30 22:29 ` Dan Nicolaescu [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=200807302229.m6UMTewO010817@sallyv1.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=acm@muc.de \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).