From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43206 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: "make" in lisp/ not doing The Right Thing? Date: Wed, 20 Feb 2002 10:15:13 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nu1sc2ni6.fsf@zsh.cs.rochester.edu> References: <87sn7w1aah.fsf@cs.utah.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178336 16352 80.91.224.250 (21 Oct 2002 05:32:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:32:16 +0000 (UTC) Return-Path: Original-Received: (qmail 11487 invoked from network); 20 Feb 2002 15:16:04 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 20 Feb 2002 15:16:04 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16dYT0-0007La-00; Wed, 20 Feb 2002 09:15:35 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 20 Feb 2002 09:15:35 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA22671 for ; Wed, 20 Feb 2002 09:15:24 -0600 (CST) Original-Received: (qmail 11470 invoked by alias); 20 Feb 2002 15:15:19 -0000 Original-Received: (qmail 11465 invoked from network); 20 Feb 2002 15:15:18 -0000 Original-Received: from roc-24-58-72-167.rochester.rr.com (HELO zsh.2y.net) (@24.58.72.167) by gnus.org with SMTP; 20 Feb 2002 15:15:18 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g1KFFEY16413; Wed, 20 Feb 2002 10:15:14 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Karra's message of "Wed, 20 Feb 2002 20:15:58 +0530") Original-Lines: 22 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43206 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43206 Karra writes: > Is there any good reason for the following behaviour: _all_ .elc > files are built from the .el files, even if they are newer than the > corresponding .el files. It is because some files depend on macros or inline functions in other files. It is similar to .c files defending on some .h files. If you change .h files, you have to recompile .c files. Due to the unknown dependence, it is safe to build all .elc files. However, if you are sure that there are no such changes, you can use `make some'. As to the second patch, you can't use srcdir as the prefix of .elc files, because .elc files may not locate in the same directory as .el files. For example, you can put gnus source code in a directory, say "gnus". To build it for Emacs in another directory, say "gnus-emacs", run "../gnus/configure --src-dir=../gnus" under directory gnus-emacs. To build it for XEmacs in the third directory, say "gnus-xemacs", run "../gnus/configure --src-dir=../gnus --with-xemacs" under directory gnus-xemacs. ShengHuo