home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18552 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.2 KB

  1. Path: sparky!uunet!utcsri!torn!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!umn.edu!csus.edu!netcom.com!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Version Strings...
  5. References: <1993Jan10.173352.22592@fy.chalmers.se>
  6. Message-ID: <paulk.36pk@terapin.com>
  7. Date: 11 Jan 93 22:52:30 PST
  8. Organization: BBS
  9. Lines: 15
  10.  
  11. > > Please make sure that the version string is near the beginning of
  12. > > the executable, so that the version command can quickly find it.
  13. > > This can normally be achieved by placing the code above (or
  14. > > similar code) at the top of one of the programs modules, and then
  15. > > making that module the first one in the link command.
  16.  
  17. > That won't work if you use the (equivalent of SAS's blink)
  18. > SMALLDATA option, since that merges all the data segments.
  19.  
  20. What I did with Aztec was make a separate tiny source file containing
  21. the version string and a coupla other revision-sensitive little
  22. items, and tell the compiler, for that one source file, to put all
  23. strings in the code segment instead of the data segment.  This does
  24. mean that if you refer to any of those items elsewhere you have to
  25. use a far reference.
  26.