Prealloc

Ken Mandelberg km at mathcs.emory.edu
Fri Mar 24 01:44:53 AEST 1989


Can someone explain the use of prealloc.o and prealloc.obj?

My reading of the man pages is that programs that want to
fully control its memory allocation using brks, are forced
to use  vmsas and vmsld to be able to set -nop0bufs.

However, the vmsld man page entry for -nop0bufs, mentions both
/lib/prealloc.o for Unix objects and /usr/libvms/prealloc.obj
for VMS objects to make the EUNICE initialization routines
use preallocated buffers (and not malloc/brk).

To me this means if I really need to completely control the
brk area, I should use vmsas and vmsld with -nop0bufs
and /usr/libvms/prealloc.obj.

When would I use /lib/prealloc.o? I have tried it with unixld
but it conflicts with other stuff in libc.a . Even if it
worked with unixld and libc.a, what good would it do me
if I can't set -nop0bufs with unixld?

These comments are all relative to EUNICE 4.3.


-- 
Ken Mandelberg      | km at mathcs.emory.edu          PREFERRED
Emory University    | {decvax,gatech}!emory!km     UUCP 
Dept of Math and CS | km at emory.bitnet              NON-DOMAIN BITNET  
Atlanta, GA 30322   | Phone: (404) 727-7963



More information about the Comp.os.eunice mailing list