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

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!olivea!spool.mu.edu!howland.reston.ans.net!paladin.american.edu!gatech!concert!sas!mozart.unx.sas.com!walker
  2. From: walker@twix.unx.sas.com (Doug Walker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Manx Flags?
  5. Keywords: c manx lattice makefile
  6. Message-ID: <C1GvDr.1IF@unx.sas.com>
  7. Date: 26 Jan 93 15:08:14 GMT
  8. References: <1993Jan26.013631.11639@monu6.cc.monash.edu.au>
  9. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  10. Organization: SAS Institute Inc.
  11. Lines: 146
  12. Originator: walker@twix.unx.sas.com
  13. Nntp-Posting-Host: twix.unx.sas.com
  14.  
  15.  
  16. In article <1993Jan26.013631.11639@monu6.cc.monash.edu.au>, spotty@yoyo.cc.monash.edu.au (Andrew Harvey) writes:
  17. |> Could someone post a brief list of the Manx C compiler's command line
  18. |> flags. I need them to convert a makefile to Lattice.
  19.  
  20. Actually, I found an online copy of the 5.10 customer service guide.
  21. Here's Appendix C.
  22.  
  23. Khristi Tomlinson in our tech support department has a more detailed
  24. document that she is preparing;  if you would like to review a copy
  25. of this (experienced MANX->SAS converters, listen up!) please contact
  26. her through our normal tech support channels.  (919)677-8009, or
  27. by mail.
  28.  
  29. Here's the Appendix from the customer service guide.
  30.  
  31.         Appendix C - Converting Aztec C to SAS/C
  32.         ========================================
  33.  
  34. This appendix contains guidelines for converting Aztec C programs to SAS/C.
  35. If you have any comments or suggestions on this topic, please contact
  36. Technical Support.
  37.  
  38.         HEADERS
  39.         -------
  40.  
  41. A common Aztec C header file, functions.h, is equivalent to the SAS/C
  42. header file, proto/all.h.
  43.  
  44.         OPTIONS
  45.         -------
  46.  
  47. NOTE:    The equivalent SAS/C options may have effects in addition to those
  48.     of the Aztec C option.    Please check the SAS/C manual for a
  49.     complete explanation of the options selected.
  50.  
  51.  
  52. Aztec C     SAS/C        Comments
  53. ----------------------------------------------------------------------------
  54. -3
  55. -5
  56. -a
  57. -at
  58. -bd        default     -v turns off stack checking.
  59. -bs        -d --> -d5    SAS/C has 5 levels of debug information
  60.                 instead of 1.
  61. -c2        -m2
  62. -d        -dx=y        x is the pre-processor symbol and y is the
  63.                 definition.
  64. -fa        -fi        You must also use the -Lm option to
  65.                 automatically link with the math
  66.                 libraries.
  67. -ff        -ff        You must also use the -Lm option to
  68.                 automatically link with the math
  69.                 libraries.
  70. -fm        -fl        You must also use the -Lm option to
  71.                 automatically link with the math
  72.                 libraries.
  73. -f8        -f8        You must also use the -Lm option to
  74.                 automatically link with the math
  75.                 libraries.
  76. -hi        -Hxxx        xxx is the name of the pre-compiled header
  77.                 file.
  78. -ho        -ph        You must also use the -oxxx option to
  79.                 specify the name of the object file, xxx,
  80.                 which will contain the pre-compiled header
  81.                 output.
  82. -i        -ixxx        xxx is the include directory, including the
  83.                 path if necessary.
  84. -k
  85. -ma        default
  86. -mb
  87. -mc        -r0
  88. -md        -b0
  89. -me
  90. -mm        approx. -cs    -cs forces the compiler to have only one
  91.                 copy of identical strings.  These strings
  92.                 are placed in the code segment.
  93. -ms        default
  94. -o        -oxxx        xxx is the name of the output file.
  95. -pa        -ca        -ca requires ANSI compatibility.
  96. -pb
  97. -pc        default
  98. -pe
  99. -pl        default
  100. -po        -co        -co uses the SAS/C old style
  101.                 preprocessor.
  102. -pp        -cu
  103. -ps        -w
  104. -pt                SAS/C does not support trigraphs with the
  105.                 5.10 release.
  106. -pu
  107. -qa        -pp
  108. -qf        -E        -E invokes the editor upon finding an
  109.                 error.
  110. -qp        -pe
  111. -qq        -.        -. suppresses the execution messages.
  112. -qs        -ps
  113. -qv
  114. -r4
  115. -sa        default     This option is always on in SAS/C.
  116. -sb                This is not an option in SAS/C.  Equivalent
  117.                 effect is produced by including string.h in
  118.                 the source.
  119. -sf        -O        -O invokes the global optimizer.
  120. -sm                This is not an option in SAS/C.  Equivalent
  121.                 effect is produced by including appropriate
  122.                 header files.
  123. -sn        default     This option is always on in SAS/C.
  124. -so        -O        This option incorporates various
  125.                 optimization options.  The SAS/C option -O
  126.                 invokes the SAS/C Global Optimizer
  127. -sp        default     -mc turns this option off.
  128. -sr        -O        This effect is produced by GO, the global
  129.                 optimizer.
  130. -ss        -cs
  131. -su        default
  132. -wa        default
  133. -wd
  134. -we        -j*e        -j*e turns all warnings into errors. -j<n>e
  135.                 turns a specific warning message numbered
  136.                 <n> into an error message.
  137. -wl        default
  138.  
  139. -wn        -j<n>w        This options turns an error numbered <n>
  140.                 into a warning.
  141. -wo        default
  142. -wp        -cf
  143. -wq        -E<fn>        -E puts you into the editor when finding an
  144.                 error during compilation, and places all
  145.                 error messages generated into the file
  146.                 <fn>.  <fn> is 'RAM:lc.err.out' by default.
  147. -wr        default
  148. -ws        -j*w
  149. -wu        default
  150.  
  151. -ww        -q<n>w        This option tells the compiler to quit
  152.                 compilation after <n> warnings.
  153. -- 
  154.   *****
  155. =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  156.  *|. o.| ||                                          1200/2400/9600 Dual
  157.   | o  |//     For all you do, this bug's for you!
  158.   ====== 
  159. usenet: walker@unx.sas.com                            bix: djwalker 
  160. Any opinions expressed are mine, not those of SAS Institute, Inc.
  161.