home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!smurf.sub.org!easix!teralon!darkness.gun.de!rseichter
- From: rseichter@darkness.gun.de (Ralph Seichter)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Unwanted SAS/C symbol hunks
- Message-ID: <zp20aNqDOc@darkness.gun.de>
- Organization: DARKNESS Public Mailbox, Kerpen, Germany
- Date: Mon, 25 Jan 1993 18:05:00 +0100
- Lines: 42
-
- I have a problem with an executable generated by SAS/C 6.1. The file seems
- to include symbol hunks which I definitely don't want to be there. The
- "PowerPacker" tells me it removes three hunks, and I think PP knows what it
- does. I assume that the symbol hunks generated are for functions of the
- amiga.lib like "OpenScreenTags" and some other vararg stubs (I use register
- parameters).
-
- Here are my SCOPTIONS:
-
- CPU=68030
- PARAMETERS=REGISTERS
- NOSTACKCHECK
- UNSIGNEDCHARS
- NOSTANDARDIO
- COMMENTNEST
- ERRORREXX
- NOMULTIPLEINCLUDES
- NOOPTIMIZE
- NOICONS
- NOERRORHIGHLIGHT
- GLOBALSYMBOLTABLE=z.gst
- GSTIMMediate
-
- And here's how I link the object modules (part of my SMAKEFILE):
-
- LNKFLGS = NOADDSYM DEFINE ___main=___tinymain
- LIB = lib:sc.lib lib:amiga.lib
- OBJECTS = [...]
-
- slink FROM lib:c.o $(OBJECTS) TO z LIB $(LIB) $(LNKFLGS)
-
- Do you have any idea why there are symbol hunks although I explicitly
- specify the NOADDSYM keyword for SLink? I surely don't like anything
- included in an executable which doesn't _have_ to be there. :(
-
- Please help!
-
- MfG, Ralph
- --
- Helen paused. With an audible "WHUMP", Muffy's familiar yipping had ended,
- and only the sound of Ed's football game now emanated from the living room.
- [GL] rseichter@darkness.gun.de # Tel (+49) 2233 70293 # Zodiac's Point 3.0
-