home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / amiga / 2125 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  1.4 KB

  1. Path: sparky!uunet!gatech!hubcap!ncrcae!ncr-sd!crash!yoda!ford
  2. From: ford@yoda.uucp (Mike "Ford" Ditto)
  3. Newsgroups: comp.unix.amiga
  4. Subject: Re: HELP!! Is there a LoadSeg command or an Overlay under Unix?
  5. Message-ID: <131@yoda.uucp>
  6. Date: 13 Sep 92 02:50:00 GMT
  7. References: <1992Sep2.173457.58586@cc.usu.edu>
  8. Organization: Omnicron Data Systems
  9. Lines: 27
  10.  
  11. In article <1992Sep2.173457.58586@cc.usu.edu>
  12. slmt9@cc.usu.edu (Joshua Dinerstein) writes:
  13. >    Is there a LoadSeg type of command under Unix? Or even and overlay
  14. >manager?
  15.  
  16. The answer depends on what you want to do.
  17.  
  18. If you want to create a very large program and only load into memory
  19. the parts that are in use at the time, you don't need to do anything
  20. special.  Just create your program and the demand paging facility will
  21. take care of moving parts of it between memory and disk.
  22.  
  23. If you want to have parts of a program be optional and/or replacable
  24. at run time, you probably want to look into dynamic shared libraries.
  25. Read dlopen(3x) for more information.
  26.  
  27. If you want to read an actual AmigaDOS loadable file in LoadSeg
  28. format, you can use the LoadSeg routine which is part of the cvtfont
  29. program.  Source is in /usr/amiga/src/cmd/cvtfont/load* if you have
  30. installed the "Amiga source code" package of Amiga Unix.
  31.  
  32.                     -=] Ford [=-
  33.  
  34. "But everybody wants a rock        (In Real Life:  Mike Ditto)
  35.  to wind a piece of string around."    ford@yoda.uucp
  36.  - They Might be Giants,        uunet!cbmvax!kenobi!ford
  37.    "We want a rock"
  38.