From xemacs-m  Mon Jul  7 03:34:39 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA02012
	for <xemacs-beta@xemacs.org>; Mon, 7 Jul 1997 03:34:38 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id BAA20822;
	Mon, 7 Jul 1997 01:37:20 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: 20.3-beta11 Stockholm OK on FreeBSD 2.2.2
References: <rysradbic9u.fsf@skywalk.jsys.co.jp>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@xemacs.org>
In-Reply-To: Kazuyuki IENAGA's message of "07 Jul 1997 15:53:17 +0900"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 07 Jul 1997 01:37:20 -0700
Message-ID: <m2oh8f1cn3.fsf@altair.xemacs.org>
Lines: 64
X-Mailer: Gnus v5.4.62/XEmacs 20.3(beta12) - "Helsinki"

Kazuyuki IENAGA <ienaga@jsys.co.jp> writes:

> [1  <text/plain; US-ASCII (7bit)>]
> Patched up from b10, configure, compile and run OK on FreeBSD 2.2.2.

> [Patching up and cc-mode specific problem]
> With `make all-elcs', I got an error with making elcs in lisp/cc-mode/ 
> that "make" command complained "don't know how to make
> cc-align.elc. Stop".

This shouldn't happen, regardless of the make(1) program in use.

> For instance, see the example bellow:

>     lisp/cc-mode% make cc-align.elc
>     `cc-align.elc' is up to date.
>     lisp/cc-mode% mv !$ elcs/
>     mv cc-align.elc elcs/
>     lisp/cc-mode% make cc-align.elc
>     make: don't know how to make cc-align.elc. Stop

(Note that you need an assignment to $(EMACS) for this to be able to
Do The Right Thing on the command line).

I tried this with the version of bsdmake I have around (I needed it
for building sendmail-8.8 m4 sendmail.cf configurations) and it worked
perfectly:

$ bsdmake EMACS=../../src/xemacs 
../../src/xemacs -batch -q -no-site-file -l ./cc-vars.el -l ./cc-mode.el -l ./cc-menus.el -l ./cc-langs.el -f batch-byte-compile 
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-langs.el...
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-styles.el...
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-align.el...
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-engine.el...
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-styles.el...
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-align.el...
Loading /b/XEmacs/xemacs-20.0/lisp/cc-mode/cc-engine.el...
Done

$ 

I built this version of bsdmake on 13 March, 1996 and I don't remember
which BSD distribution I pulled it out of.  Perhaps more recent changes
have broken something?

> So I did "../../src/xemacs -q ...." for each els.

That may not catch everything right.  If cc-mode were able to be
bytecompiled in this fashion, it would have been.  Barry convinced me
that the Makefile was needed.

> I just have FreeBSD version of make, not GNU make.
> Do I have to get GNU's one?

I hope not ...

> I tested it on Solaris 2.5, both on /usr/ccs/bin/make and GNU make.
> Solaris version of make complained as same as FreeBSD's.
> The GNU make had nothing to complain about.

Cool.  Martin, can you reproduce this?
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

