From xemacs-m  Mon Jun 30 01:15:54 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 BAA12725
	for <xemacs-beta@xemacs.org>; Mon, 30 Jun 1997 01:15:53 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.6/8.8.6) id XAA06266;
	Sun, 29 Jun 1997 23:18:42 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Success "Athens" on NEWSOS4
References: <28afk864yw.fsf_-_@ganews.ga.sony.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: Katsumi Yamaoka's message of "30 Jun 1997 14:21:27 +0900"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=US-ASCII
Date: 29 Jun 1997 23:18:41 -0700
Message-ID: <m290zshav2.fsf@altair.xemacs.org>
Lines: 61
X-Mailer: Gnus v5.4.60/XEmacs 20.3(beta11) - "Stockholm"

Katsumi Yamaoka <yamaoka@ga.sony.co.jp> writes:

> I have some problrms:

> 1. Typo(?) in configure.

Your patch for this is fine, I have applied it.

> 2. Can't build temacs with `ld'.
> 3. If args for temacs is longer then 256 chars, command-line-args is
>    chopped every 256 chars with newline. So make-docfile.el does not
>    work.

Your second patch has some problems.

> --- src/Makefile.in.in~	Mon Jun 30 08:13:57 1997
> +++ src/Makefile.in.in	Mon Jun 30 11:16:06 1997
> @@ -60,7 +60,7 @@
>  ld_switch_shared=@ld_switch_shared@
>  start_files=@start_files@
>  start_flags=@start_flags@
> -LD=@ld@
> +LD=@CC@ -nostdlib
>  lib_gcc=@lib_gcc@

This change has to be approved by Martin.  I'm not sure whether this
is the right change or not.
 
>  ## just to be sure the sh is used
> @@ -325,9 +325,10 @@
>  #ifdef NO_DOC_FILE
>  	if test -f $@; then touch $@ && exit 0; fi; \
>  #endif
> -	-${DUMPENV} ./temacs -batch -l ../prim/make-docfile.el -- \
> -		-o ${libsrc}DOC -d ${srcdir} -i ${libsrc}../site-packages \
> -		${obj_src} ${mallocdocsrc} ${rallocdocsrc}
> +	${libsrc}make-docfile -d ${srcdir} -i ${libsrc}../site-packages \
> +		${obj_src} \
> +	        ${mallocdocsrc} ${rallocdocsrc} ${lispdir}version.el \
> +		${lisp} > ${libsrc}DOC
 
This change is incorrect.  There is no ${lisp} variable any more,
the set of lisp files dumped with XEmacs can and will be changing
dynamically with build and make-docfile should only be called from
make-docfile.el.

Is line length a problem only with your make?  If so, then the right
change is to split up the command line.

	-${DUMPENV} ./temacs -batch -l ../prim/make-docfile.el -- \
		-o ${libsrc}DOC \
		-d ${srcdir} \
		-i ${libsrc}../site-packages \
		${obj_src} \
		${mallocdocsrc} \
		${rallocdocsrc}

Does this replacement work?
-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

