home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19216 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.7 KB

  1. Path: sparky!uunet!math.fu-berlin.de!ira.uka.de!smurf.sub.org!easix!teralon!darkness.gun.de!rseichter
  2. From: rseichter@darkness.gun.de (Ralph Seichter)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Unwanted SAS/C symbol hunks
  5. Message-ID: <zp20aNqDOc@darkness.gun.de>
  6. Organization: DARKNESS Public Mailbox, Kerpen, Germany
  7. Date: Mon, 25 Jan 1993 18:05:00 +0100
  8. Lines: 42
  9.  
  10. I have a problem with an executable generated by SAS/C 6.1.  The file seems
  11. to  include  symbol  hunks  which I definitely don't want to be there.  The
  12. "PowerPacker" tells me it removes three hunks, and I think PP knows what it
  13. does.   I  assume  that the symbol hunks generated are for functions of the
  14. amiga.lib like "OpenScreenTags" and some other vararg stubs (I use register
  15. parameters).
  16.  
  17. Here are my SCOPTIONS:
  18.  
  19.    CPU=68030
  20.    PARAMETERS=REGISTERS
  21.    NOSTACKCHECK
  22.    UNSIGNEDCHARS
  23.    NOSTANDARDIO
  24.    COMMENTNEST
  25.    ERRORREXX
  26.    NOMULTIPLEINCLUDES
  27.    NOOPTIMIZE
  28.    NOICONS
  29.    NOERRORHIGHLIGHT
  30.    GLOBALSYMBOLTABLE=z.gst
  31.    GSTIMMediate
  32.  
  33. And here's how I link the object modules (part of my SMAKEFILE):
  34.  
  35.    LNKFLGS = NOADDSYM DEFINE ___main=___tinymain
  36.    LIB = lib:sc.lib lib:amiga.lib
  37.    OBJECTS = [...]
  38.  
  39.    slink FROM lib:c.o $(OBJECTS) TO z LIB $(LIB) $(LNKFLGS)
  40.  
  41. Do  you  have  any  idea  why  there are symbol hunks although I explicitly
  42. specify  the  NOADDSYM  keyword  for  SLink?   I surely don't like anything
  43. included in an executable which doesn't _have_ to be there.  :(
  44.  
  45. Please help!
  46.  
  47.     MfG,    Ralph
  48. --
  49. Helen paused. With an audible "WHUMP", Muffy's familiar yipping had ended,
  50. and only the sound of Ed's football game now emanated from the living room.
  51. [GL] rseichter@darkness.gun.de # Tel (+49) 2233 70293 # Zodiac's Point 3.0
  52.