This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: alloca and HP
- To: Mumit Khan <khan at xraylith dot wisc dot EDU>
- Subject: Re: alloca and HP
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Sat, 23 Jan 1999 14:14:17 -0700
- cc: Jerry Quinn <jquinn at nortelnetworks dot com>, Martin Kahlert <martin dot kahlert at mchp dot siemens dot de>, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199901232112.PAA00195@modi.xraylith.wisc.edu>you write:
> I just checked 3 HP-UX 9.07 boxes, and not a single one has libPW.a, so
> it's probably not a good idea to depend on its existence. Must be a
> function of the installation, and not part of the base runtime.
Quite possible. If that's the case, then it's probably optional on hpux10.20
too.
Not that this is all that important. When using gcc, it knows how to deal with
alloca directly without needing a library function. When building gcc with the
HP compilers an alloca will be built as part of libiberty and linked into the
gcc executable (solely to avoid depending on host allocas which are either
non-existent or broken).
jeff