home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 649 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: phoenix.owl.de!not-for-mail
  2. Newsgroups: comp.sys.amiga.programmer
  3. References: <9601052319.AA0005c@schlott.demon.co.uk>
  4. From: "Frank Wille" <frank@phoenix.owl.de>
  5. Date: Tue, 09 Jan 1996 18:30:31 +0200
  6. X-NewsReader: IntuiNews 1.3b Beta 3 (5.11.95)
  7. Subject: Re: Dos Hunks
  8. Message-ID: <42116413@phoenix.owl.de>
  9. Organization: Phantasm
  10.  
  11. Tom Kuhn wrote on Fri, 5 Jan 96 23:19:12 GMT
  12. about "Dos Hunks" :
  13.  
  14.  
  15. TK> I have written a program which is a small intro-maker. It compiles the
  16. TK> 'intro' to disk, which consists of a small exe (always the same for
  17. TK> any intro) and a data file which could be any size. To have 2 files to
  18. TK> distribute about is messy.
  19. TK> 
  20. TK> How can I get my compiling section to automatically link the exe with
  21. TK> the data file so parts of the exe can find the datum it needs? All I
  22.  
  23. Insert XREFs for the required data in your executable and you will
  24. get an object file instead. Then create the data file as an object
  25. too, either by appending a correct xdef-block yourself or by
  26. creating the data file as source first, and then assembling it.
  27. Now you can start your linker to link both.
  28.  
  29.  
  30. TK> need to know really is how hunks work. The 3.0 includes don't tell me
  31. TK> much!
  32.  
  33. If you need to know more about Hunks, I would recommend "The Amiga
  34. Guru Book" from Ralph Babel.
  35.  
  36.  
  37. -- _
  38. _ // Frank      EMail: frank@phoenix.owl.de
  39. \X/             IRC:   Phx @ #amiga(ger)
  40.  
  41.