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