Help on Compiling Emacs on AIX (RS6000)
Vic Abell
abe at mace.cc.purdue.edu
Wed Oct 10 07:38:21 AEST 1990
In article <9010092106.AA22112 at nth.com> lowe at nthropy.UUCP (Andy Lowe) writes:
>
>yzhao at hermes.cs.uh.edu writes:
>
>the posting:
> use of alloca and optimization under XL C on AIX 3.1
>by abe at mace.cc.purdue.edu (Vic Abell)
>in this newsgroups seems to report a similar problem.
This may not be a similar problem. The official solution to the absence
of alloca() is to use
#pragma alloca
instead. (See the BSD porting guide in /usr/lpp/bsdport.) My problem
was that, while the #pragma worked with no CC optimization or with debug
(-g) mode, I couldn't get it to work when I used optimization (-O). I
don't yet have an answer to that paradox.
More information about the Comp.unix.aix
mailing list