From xemacs-m  Tue Jul 29 05:01:42 1997
Received: from fronsac.ensg.u-nancy.fr (fronsac.ensg.u-nancy.fr [192.93.48.17])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id FAA28687
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 05:01:41 -0500 (CDT)
Message-Id: <199707291001.FAA28687@xemacs.org>
Received: by fronsac.ensg.u-nancy.fr
	(8.7.1/16.2) id GAA19371; Tue, 29 Jul 1997 06:01:24 -0400 (EDT)
Date: Tue, 29 Jul 1997 06:01:24 -0400 (EDT)
From: Richard Cognot <cognot@ensg.u-nancy.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Martin Buchholz <mrb@Eng.Sun.COM>
Cc: XEmacs Beta Test <xemacs-beta@xemacs.org>
Subject: Re: XEmacs + HP + cc + alloca broken.
In-Reply-To: <199707281822.LAA21573@xemacs.eng.sun.com>
References: <199707170546.WAA04688@xemacs.eng.sun.com>
	<9707171520.AA03578@nquah6f>
	<199707281822.LAA21573@xemacs.eng.sun.com>
X-Mailer: VM 6.33 under 20.3 "Vienna" XEmacs  Lucid (beta14)
Reply-to: cognot@ensg.u-nancy.fr
X-Face:  .|{6#t`YCBNfg_E.8;@IFK9kd'Ol7>~2S7U!o3+g)+\`hV5&I]k,UwC%g%Y\,-KV+[eEgZm
 i(NgMB@L_n/A!jk;}@!?$<t5Aw`B$R=xJSv[F$2&sz*cwxF!|B3)MH,6YBDNU!$9;91N_p*>}</%ZO
 +EYRSc{a_#KXB)sJlPpxQq,/:}\*noO!;(5PY~MTnspl;&XA$JccP;N~;v5E>Yh.


>>>>> "Martin" == Martin Buchholz <mrb@Eng.Sun.COM> writes:

    Martin> Because of the difficulties fixing this without access to
    Martin> a system with HP cc, I am leaving this to you guys.
    Martin> Here's the plan I would use:

    Martin> - read the docs for cc, looking for alloca references.  -
    Martin> build xemacs 20.2 on the same system, looking for how it
    Martin> handles the configuration issues.  - Fix the code in 20.3
    Martin> based on the above information.

    Martin> One additional idea that could be tried is to extract
    Martin> alloca.o from libPW.a and simply put this file into the
    Martin> src directory, and link with that.

No need for that: when including alloca.h, alloca is defined to become 
__builtin_alloca (at least on 10.20). If I simply remove -lPW from the 
link line it works perfectly.

Richard.

-- 
|-------------------------------------------------------------|
| Richard Cognot           | Proceed, with fingers crossed... |
|                          |           /\^^/\                 |
| <cognot@ensg.u-nancy.fr> |             `'                   |
|-------------------------------------------------------------|
| http://www.ensg.u-nancy.fr/~cognot                          |
|-------------------------------------------------------------|

