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

  1. Path: sparky!uunet!noc.near.net!nic.umass.edu!dime!astro.cs.umass.edu!barrett
  2. From: barrett@astro.cs.umass.edu (Daniel Barrett)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Manx Flags?
  5. Keywords: c manx lattice makefile
  6. Message-ID: <59127@dime.cs.umass.edu>
  7. Date: 26 Jan 93 03:17:02 GMT
  8. References: <1993Jan26.013631.11639@monu6.cc.monash.edu.au>
  9. Sender: news@dime.cs.umass.edu
  10. Organization: BLAZEMONGER INCORPORATED
  11. Lines: 254
  12.  
  13. In article <1993Jan26.013631.11639@monu6.cc.monash.edu.au> spotty@yoyo.cc.monash.edu.au (Andrew Harvey) writes:
  14. >Could someone post a brief list of the Manx C compiler's command line
  15. >flags. I need them to convert a makefile to Lattice.
  16.  
  17. From: utoddl@next1.oit.unc.edu (Todd M. Lewis)
  18. Newsgroups: comp.sys.amiga.programmer
  19. Subject: Aztec C compiler options (long)
  20. Date: 10 Jun 92 20:03:01 GMT
  21.  
  22. If you find any errors, discrepancies, or omitions in these lists 
  23. please send corrections to me, Todd M. Lewis, at utoddl@next1.oit.unc.edu.
  24.  
  25. ================Manx C 5.2a compiler options================
  26.  
  27. -3        Interpret options that follow according to 3.6
  28.           rules.
  29.  
  30. -5        Interpret options that follow according to 5.0
  31.           rules.
  32.  
  33. -a        Causes the compiler not to start the assembler
  34.           after compile.
  35.  
  36. -at       Like -a, but includes C source statements as
  37.           comments in .asm.
  38.  
  39. -bd       Enables Stack depth checking.
  40.  
  41. -bs       Produces sdb debugging information.
  42.  
  43. -c2       Produces 68020 code.
  44.  
  45. -d        Defines a preprocessor symbol.
  46.  
  47. -fa       IEEE floats
  48.  
  49. -ff       Motorola FFP
  50.  
  51. -fm       Manx IEEE (DEFAULT ON!)
  52.  
  53. -f8       68881 floats
  54.  
  55. -hi       reads pre-compiler header files.
  56.  
  57. -ho       writes compiler symbol table.
  58.  
  59. -i        Specifies path for include files.
  60.  
  61. -k        follow K&R (UNIX version 7) standard.
  62.  
  63. -ma       Forces alignment of short and long data items.
  64.           (DEFAULT ON!)
  65.  
  66. -mb       Generate public .begin statement.  Turn off for
  67.           drivers.
  68.  
  69. -mc       Large code model.
  70.  
  71. -md       Large data model.
  72.  
  73. -me       Align strings on word boundaries.
  74.  
  75. -mm       Puts data in code segment.
  76.  
  77. -mr       Use more registers as temporary registers
  78.           (fewer for register variables).  This option
  79.           should only be used to work around an
  80.           "Expression too complex" error message.
  81.  
  82. -ms       Puts static strings in data segment.
  83.  
  84. -o        Specifies name for .o file.
  85.  
  86. -pa       Turns on ANSI preprocessor and trigraphs.
  87.           Turns off 'cdemou'
  88.  
  89. -pb       make bitfield unsigned by default.
  90.  
  91. -pc       Allows extra characters after #endif or #else.
  92.           Defaults ON!
  93.  
  94. -pe       Causes enums to occupy only the amount of space
  95.           needed.  Def. OFF!
  96.  
  97. -pl       Defines ints to be 32 bits instead of 16.
  98.           Defaults ON!
  99.  
  100. -po       Uses old (3.6) preprocessor.
  101.  
  102. -pp       make characters unsigned by default.
  103.  
  104. -ps       Defines ints to be 16 bits instead of 32.
  105.  
  106. -pt       Looks for trigraphs in input stream.  Def. OFF!
  107.  
  108. -pu       Uses unsigned preserving rules.
  109.  
  110. -qa       Causes generated prototypes to use _PARAMS(())
  111.           syntax.
  112.  
  113. -qf       Enables QuickFix.
  114.  
  115. -qp       Generates prototypes for all non-static
  116.           functions defined in current file.
  117.  
  118. -qq       Disables the startup and error messages from
  119.           being displayed
  120.  
  121. -qs       Generates prototypes for all static functions
  122.           defined within the current file.
  123.  
  124. -qv       Generates verbose information on memory usage.
  125.  
  126. -r4       Uses A4 for register variables.
  127.  
  128. -r6       use A6 for register variables.
  129.  
  130. -sa       Enables two-pass assembly for branch squeezing
  131.           and other optimizations.
  132.  
  133. -sb       In-lines functions for strcpy(), strcmp(), and
  134.           strlen().
  135.  
  136. -sf       Optimized for(;;) loops, test at the bottom of
  137.           the loop.
  138.  
  139. -sm       Defines the __C_MACROS_ macro to replace some
  140.           functions with in-line macro expansions defined
  141.           in the header files.
  142.  
  143. -sn       Don't generate LINK and UNLK instructions for
  144.           functions with no local variables.
  145.  
  146. -so       A shorthand way to specify 'afmnprs' for -s.
  147.  
  148. -sp       Delays popping arguments until necessary.
  149.  
  150. -sr       Allocates registers based on weighted usage
  151.           counts.
  152.  
  153. -ss       Duplicate strings are pointers to same data.
  154.  
  155. -su       Allocates regs based on weighted usage counts,
  156.           but allocates to user specified variables
  157.           first.
  158.  
  159. -t num    Specify the maximum number of base names
  160.           defined in amicall/syscall #pragmas.
  161.  
  162. -wa       Complains on arguments which do not match the
  163.           prototype specification.
  164.  
  165. -wc       Disables ptr/ptr warning for (char *)<->(uchar *).
  166.  
  167. -wd       Generates warnings for old style K&R definitions.
  168.  
  169. -we       Quits on warnings.  Treats warnings as errors.
  170.  
  171. -wl       Shorthand for -waru and stands for lint.
  172.  
  173. -wn       Don't generate warnings on direct pointer/
  174.           pointer conversions.
  175.  
  176. -wo       Causes pointer/int conflicts to generate
  177.           warnings rather than errors.
  178.  
  179. -wp       Generates warnings for functions called w/o
  180.           prototype.
  181.  
  182. -wq       Prints warnings to "aztecC.err".
  183.  
  184. -wr       Warns if function return type does not match
  185.           declared type.
  186.  
  187. -ws       Ignore all warnings.
  188.  
  189. -wu       Warns about unused local variables.
  190.  
  191. -ww       Allows compiler to continue beyond 5 errors.
  192.  
  193. ================Manx C 3.6a compiler options================
  194.  
  195. -Q        Generates error messages to a file called
  196.           "AztecC.err"
  197.  
  198. +x5       Generates in-line code for strcpy(), strcmp()
  199.           and strlen().
  200.  
  201. +x4       Forces literal strings to be alligned on and
  202.           even boundary.
  203.  
  204. +2        Generate 68020 instructions.
  205.  
  206. +x1       Removes A6 from all lists.
  207.  
  208. +x3       Delays popping of arguments till it is
  209.           necessary.
  210.  
  211. +ff       Motorola fast Floating Point
  212.  
  213. +fi       IEEE Double Precision Floating Point Emulation.
  214.  
  215. +f8       68881 Floating Point
  216.  
  217. +m        Generates stack depth checking code as part of
  218.           function startup.
  219.  
  220. -n        Enables generation of source level debugging
  221.           info.
  222.  
  223. +p        Portability: large code and data, 32 bit ints,
  224.           saves D2 and D3.
  225.  
  226. +r        Allows the compiler to use A4 as a register
  227.           variable.  Requires large code and data model
  228.           for ALL modules.
  229.  
  230. -O file   Set output object file
  231.  
  232. -T        Keep assembly code around after compile.
  233.           Includes source as comments in .asm file.
  234.  
  235. -A        Generate .asm file, don't assemble.
  236.  
  237. -Idir     Set include directory.
  238.  
  239. +Hfile    Generate pre-compiled include files.
  240.  
  241. +Ifile    Use pre-compiled include files.
  242.  
  243. +C        Large code model
  244.  
  245. +D        Large data model
  246.  
  247. -Dsym[=val] Define a symbol to the preprocessor.
  248.  
  249. -S        Don't print warning messages.
  250.  
  251. -B        Don't pause after every fifth error.
  252.  
  253. -Enum     Use an expression table having num entries.
  254.  
  255. -Lnum     Use a local symbol table having num entries.
  256.  
  257. -Ynum     Use a case table having num entries.
  258.  
  259. -Znum     Use a literal table having num bytes.
  260.  
  261. +B        Don't generate statement "public.begin"
  262.  
  263. +L        int variables and constants are 32 bits long.
  264.  
  265. +Q        Put character string constants in data segment,
  266.           not code seg.
  267.