From xemacs-m  Tue Sep  2 03:55:52 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA21705
	for <xemacs-beta@xemacs.org>; Tue, 2 Sep 1997 03:55:51 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id BAA03331; Tue, 2 Sep 1997 01:55:21 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id BAA03572; Tue, 2 Sep 1997 01:55:20 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA28181; Tue, 2 Sep 1997 01:55:18 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id BAA01066; Tue, 2 Sep 1997 01:55:17 -0700
Date: Tue, 2 Sep 1997 01:55:17 -0700
Message-Id: <199709020855.BAA01066@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Ricardo Marek <ricky@ornet.co.il>
Cc: XEmacs Beta List <xemacs-beta@xemacs.org>
Subject: [Q] The best way to build/install XEmacs for different binaries?
In-Reply-To: <199709020743.KAA24937@merlin.ornet.co.il>
References: <199709020743.KAA24937@merlin.ornet.co.il>
X-Mailer: VM 6.33 under 20.3 "Vienna" XEmacs  Lucid (beta14)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Ricardo" == Ricardo Marek <ricky@ornet.co.il> writes:

Ricardo> I always compiled/installed XEmacs for Sparc-SunOS 4.1.4 so I did not
Ricardo> have the problem in compiling/installing the same stuff for different
Ricardo> Operating Systems (SunOS 4.1.4 vs. Solaris 2.*).

Ricardo> Now, I reached the point that I can/need to compile for both, using
Ricardo> the same sources.

Ricardo> Assuming that I have already compiled/installed the sources for
Ricardo> SunOS:

Ricardo> Q1) What are the correct way to re-compile the sources for Solaris?
Ricardo>     - What cleanup should I do before re-running configure?
Ricardo>     - What are the steps to follow? 
Ricardo>       (e.g.- Re-run configure with the correct parameters
Ricardo>            - Re-run make )

make distclean; make

is the mantra.  If make distclean doesn't work, let us know.

Ricardo> Q2) Installing using a common prefix: 
Ricardo>     - Does exist some makefile target that can be used only to
Ricardo>       install the OS dependent stuff? (Remember, the common stuff is
Ricardo>       already installed...)
Ricardo>     - What about common stuff.. Is influenced by the configure
Ricardo>       differences? (SunOS without CDE, Solaris without NAS, etc.)

make install-arch-dep

The common stuff installed is supposed to be independent of the features
compiled into your binary.

Martin

