  | 85180 packages online |
|
 |
| dev/c/SASalloca.lha | | | | No screenshot available |
|
The use of alloca() is quite common for many UNIX applications.
If you intend to port such a program using SAS/C you'd have to
eliminate all alloca()s as SAS/C doesn't supply this function.
There is already another "mostly portable" implementation of
alloca(). However, it does not work with SAS/C as it makes
assumptions about the compiler's handling of the stack-pointer
which are not true for SAS/C.
This is where SASalloca comes in. The idea is to (ab)use the
_PROLOG() and _EPILOG() hooks used by the profiler.
There are no limitations regarding the use of stackextention,
setjmp() and longjmp(), etc. In general, all you have to do is
to compile your sources with PROFILE enabled and to link them
with this alloca implementation.
This package is PUBLIC DOMAIN. Source included.
|
Contents of dev/c/SASalloca.lha PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 840 1921 43.7% -lh5- 982d Jul 19 1995 SASalloca/alloca.c
[generic] 411 660 62.3% -lh5- c625 Jul 19 1995 SASalloca/alloca.o
[generic] 357 684 52.2% -lh5- e28b Jul 19 1995 SASalloca/include/alloca.h
[generic] 3665 9772 37.5% -lh5- 776d Jul 19 1995 SASalloca/Readme
[generic] 143 193 74.1% -lh5- c714 Jul 19 1995 SASalloca/SMakefile
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 5 files 5416 13230 40.9% Jul 20 1995
|
|
|
 |
| Page generated in 0.03 seconds |
Aminet © 1992-2026 Urban
Müller and
the Aminet team.
Aminet contact address: <aminet aminet net> |
| Try new and exciting server! |