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

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!hacgate!SDFSERV!johnl
  2. From: johnl@SDFSERV.hac.com (John Lee)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Version Strings...
  5. Message-ID: <24713@hacgate.SCG.HAC.COM>
  6. Date: 13 Jan 93 00:45:07 GMT
  7. References: <C0KBM1.Kun@well.sf.ca.us> <24689@hacgate.SCG.HAC.COM> <C0qvC0.M9L@well.sf.ca.us>
  8. Sender: news@hacgate.SCG.HAC.COM
  9. Organization: Hughes Aircraft Company, El Segundo, CA
  10. Lines: 58
  11.  
  12. In article <C0qvC0.M9L@well.sf.ca.us> comeau@csanta.attmail.com (Greg Comeau) writes:
  13. >In article <24689@hacgate.SCG.HAC.COM> johnl@SDFSERV.hac.com (John Lee) writes:
  14. [...]
  15. >I have a feeling we went from a generic concept to a specific
  16. >product.  You imply that no Amiga linker has this capability.
  17. >I have honestly never looked, but that that is so does not dispute
  18. >that it is technically possible to do so.
  19. [...]
  20.  
  21. Actually, no linker _I've ever encountered_ did this.  But then I
  22. haven't seen even 1% of the linkers out there.  And yes, it's feasible,
  23. even pretty straight-forward to do.  But will the feature be worth the
  24. trouble?
  25.  
  26.  
  27. [...]
  28. >Again, I don't know about on the Amiga, but I know of other linkers
  29. >on other platforms that do this.  And speaking of traditional,
  30. >if I remember correctly (and no, I'm not showing my age ;-}),
  31. >even the MVT/MVS linkers had this capability.
  32.  
  33. Throw out whole modules?  I can believe that.  It's not the same as
  34. throwing out parts of modules though.  What is MVT/MVS?  It's faintly
  35. familiar...Gould, DG, or perhaps Burroughs?  No, I'm not showing my
  36. age, either.
  37.  
  38.  
  39. >>It can't
  40. >>throw out parts of a module because of internal references (i.e.
  41. >>offsets) not mentioned in the symbol table.  It can't removing strings
  42. >>from the middle of a module without adjusting those internal
  43. >>references.
  44. >
  45. >So it adjusts them.
  46.  
  47. Yes, but I meant to imply that the assembler or compiler didn't bother
  48. to tell the linker where those internal references are.  The linker
  49. can't do a single thing about them then.
  50.  
  51.  
  52. [...]
  53. >>I think SAS/C will warn you about
  54. >>non-referenced statics, but not about non-referenced globals
  55. >>(externally-visible symbols.)  "lint" will warn you about both.
  56. >
  57. >Only in the presense of source code I can change.
  58. >Hopefully I get a shot at complaining about some ill constructions
  59. >or artisty shoved at me, but we don't always have that liberty.
  60.  
  61. Right, but at least we can do our best with what we do have control
  62. over.  Unfortunately, too many of us don't.
  63.  
  64. -------------------------------------------------------------------------------
  65. The crew faces deadly GURUs!  Next time on AmigaDOS: The Next Generation.
  66.     +--------+            John Lee
  67.     | HUGHES |
  68.     +--------+            Internet: jhlee@hac2arpa.hac.com    
  69. The above opinions are those of the user and not of those of this machine.
  70.