home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!usc!hacgate!SDFSERV!johnl
- From: johnl@SDFSERV.hac.com (John Lee)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Version Strings...
- Message-ID: <24713@hacgate.SCG.HAC.COM>
- Date: 13 Jan 93 00:45:07 GMT
- References: <C0KBM1.Kun@well.sf.ca.us> <24689@hacgate.SCG.HAC.COM> <C0qvC0.M9L@well.sf.ca.us>
- Sender: news@hacgate.SCG.HAC.COM
- Organization: Hughes Aircraft Company, El Segundo, CA
- Lines: 58
-
- In article <C0qvC0.M9L@well.sf.ca.us> comeau@csanta.attmail.com (Greg Comeau) writes:
- >In article <24689@hacgate.SCG.HAC.COM> johnl@SDFSERV.hac.com (John Lee) writes:
- [...]
- >I have a feeling we went from a generic concept to a specific
- >product. You imply that no Amiga linker has this capability.
- >I have honestly never looked, but that that is so does not dispute
- >that it is technically possible to do so.
- [...]
-
- Actually, no linker _I've ever encountered_ did this. But then I
- haven't seen even 1% of the linkers out there. And yes, it's feasible,
- even pretty straight-forward to do. But will the feature be worth the
- trouble?
-
-
- [...]
- >Again, I don't know about on the Amiga, but I know of other linkers
- >on other platforms that do this. And speaking of traditional,
- >if I remember correctly (and no, I'm not showing my age ;-}),
- >even the MVT/MVS linkers had this capability.
-
- Throw out whole modules? I can believe that. It's not the same as
- throwing out parts of modules though. What is MVT/MVS? It's faintly
- familiar...Gould, DG, or perhaps Burroughs? No, I'm not showing my
- age, either.
-
-
- >>It can't
- >>throw out parts of a module because of internal references (i.e.
- >>offsets) not mentioned in the symbol table. It can't removing strings
- >>from the middle of a module without adjusting those internal
- >>references.
- >
- >So it adjusts them.
-
- Yes, but I meant to imply that the assembler or compiler didn't bother
- to tell the linker where those internal references are. The linker
- can't do a single thing about them then.
-
-
- [...]
- >>I think SAS/C will warn you about
- >>non-referenced statics, but not about non-referenced globals
- >>(externally-visible symbols.) "lint" will warn you about both.
- >
- >Only in the presense of source code I can change.
- >Hopefully I get a shot at complaining about some ill constructions
- >or artisty shoved at me, but we don't always have that liberty.
-
- Right, but at least we can do our best with what we do have control
- over. Unfortunately, too many of us don't.
-
- -------------------------------------------------------------------------------
- The crew faces deadly GURUs! Next time on AmigaDOS: The Next Generation.
- +--------+ John Lee
- | HUGHES |
- +--------+ Internet: jhlee@hac2arpa.hac.com
- The above opinions are those of the user and not of those of this machine.
-