From xemacs-m  Wed Mar 26 23:08:09 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 XAA08628
	for <xemacs-beta@xemacs.org>; Wed, 26 Mar 1997 23:08:08 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id VAA07896;
	Wed, 26 Mar 1997 21:20:57 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Tips for Kit Builders
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@miranova.com>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 26 Mar 1997 21:20:56 -0800
Message-ID: <m291393o7b.fsf@altair.xemacs.org>
Lines: 46
X-Mailer: Gnus v5.4.37/XEmacs 20.1(beta10)

(Ignore if this doesn't apply to you, but more than one person has
asked for advice, so I figured this might be generally useful
information).

This is how I built the Linux kit (somebody desperately needs to test 
it) sitting in ftp.xemacs.org:/pub/beta/incoming

I didn't wish to do a full install to get the necessary files isolated
so I just built up the directory structure by hand in a convenient
directory.

In my case, I created the directory tree:

/var/tmp/XEmacs/
/var/tmp/XEmacs/bin
/var/tmp/XEmacs/bin/i586-unknown-linux2.0.29
                    ^^^^^^^^^^^^^^^^^^^^^^^^
/var/tmp/XEmacs/lib
/var/tmp/XEmacs/lib/xemacs-19.15
/var/tmp/XEmacs/lib/xemacs-19.15/i586-unknown-linux2.0.29
                                 ^^^^^^^^^^^^^^^^^^^^^^^^

obviously replace with your system type.

Then I went and did a normal ./configure <options> and build to get a
binary.  I don't know how to generally get stuff linked staticly, but
fortunately brute force works.  `chmod +w src/Makefile ' and edit
away.  -ljpeg => /usr/lib/libjpeg.a, -lncurses => /usr/lib/libncurses.a,
etc. for whatever you are going to link staticly.  Then
rm src/temacs src/xemacs src/emacs-19.15-XEmacs
and make again.

Copy the files by hand into the structure created above (see the
repost for the full & correct list).  Copy the configuration
information into the README.${architecture} file, update it with your
info.

Create a tarball relative to the directory above bin & lib and feather
with `gzip -v9' and drop in ftp.xemacs.org/pub/beta/incoming/.


If somebody wishes to create a `make binary-kit' for the toplevel
Makefile it would be sorely welcome, and shouldn't be very difficult.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

