From xemacs-m  Thu May  8 14:59:35 1997
Received: from neal.ctd.comsat.com (exim@neal.ctd.comsat.com [134.133.40.21])
	by xemacs.org (8.8.5/8.8.5) with SMTP id OAA01256
	for <xemacs-beta@xemacs.org>; Thu, 8 May 1997 14:59:35 -0500 (CDT)
Received: from neal by neal.ctd.comsat.com with local (Exim 1.62 #1)
	id 0wPZLQ-0004Z8-00; Thu, 8 May 1997 15:59:16 -0400
To: wmperry@aventail.com
Cc: Marius Vollmer <mvo@zagadka.ping.de>, xemacs-beta@xemacs.org
Subject: Re: Dynamic linking code (was: Re: images in xemacs)
References: <199704200123.VAA11839@hal.cs.unh.edu> 	<kig2086iib9.fsf@jagor.srce.hr> <335BC56C.E6B4E4D3@netscape.com> 	<kigg1wjsdxy.fsf@jagor.srce.hr> <335FD35F.ED2675C0@netscape.com> 	<199704301615.SAA19888@boffi95.stru.polimi.it> 	<kigenbsjn6e.fsf@jagor.srce.hr> <3367CFBB.748BCFCD@netscape.com> 	<86iv13wwrj.fsf@wmperry.oz.net> <m2d8rac0gd.fsf_-_@zagadka.ping.de> 	<86911t8w2z.fsf@kramer.in.aventail.com> <m2pvv241dc.fsf@zagadka.ping.de> <199705081843.LAA29538@newman.aventail.com>
X-Emacs: 20.2 XEmacs Lucid (beta4) without mule
Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.77)
Content-Type: text/plain; charset=US-ASCII
From: Neal Becker <neal@ctd.comsat.com>
Date: 08 May 1997 15:59:16 -0400
In-Reply-To: "William M. Perry"'s message of Thu, 8 May 1997 11:43:37 -0700 (PDT)
Message-ID: <u94tcdd9bf.fsf@neal.ctd.comsat.com>
Lines: 8
X-Mailer: Gnus v5.4.50/XEmacs 20.2(beta4)

On hpux and on linux, you need:

1) Link the main executable with a special flag to export all symbols.

2) Compile the shared module with PIC, which requires a flag to $(CC).

3) Build the shared lib.  On hpux you must then do chmod 555 to it.
   So you probably should have done rm -f before step 2.

