⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c68.txt

📁 一款拥有一定历史的C语言编译器
💻 TXT
📖 第 1 页 / 共 5 页
字号:
                        This option is  only relevant in versions of the
                        compiler that  were configured  at build time to
                        not include support for floating point, but that
                        did have  the FLOAT_CHECK  configuration  option
                        set. Setting  -fcheck=yes  means  that  floating
                        point keywords  will be  recognised and you will
                        get errors  output  if  you  try  and  use  such
                        keywords.  Setting  -fcheck=no means  that these
                        keywords are not recognised as C keywords.

                        Default: fcheck=no

              -format=yes|no
                        Activate additional  checks for the 'printf' and
                        'scanf'  families   of  library   routines.   If
                        active, then the parameters following the format
                        string are  checked as being compatible with the
                        format string.

                        This option   is    only   available    if   the
                        FORMAT_CHECK configuration option was set at the
                        time the  compiler it  is built.  This option is
                        very useful  so we  normally try and include it,
                        but the  support is  sometimes removed  to  save
                        memory when this is critical.

                        Default:  -format=yes         (check parameters)

              -icode    Output run-time  debugging  information  to  the
                        listing file.  Intended mainly for debugging the
                        compiler itself.

                        This option is  only available  if the  compiler
                        was built  with the  ICODE configuration  option
                        defined.  This  option is  not normally  defined
                        for   binaries    that   we   put   on   general
                        distribution.

                        Default:  -icode=no

              -int=16|32
                        Specify whether  the length  of int declarations
                        should be  16 bit  (same as a short) or a 32 bit
                        (same as a long).  There is a lot of code around
                        that assumes
                             sizeof(int)==sizeof(char *)
                        so getting this  setting correct for your target
                        platform is important.

                        Default:  c386:  -int=32
                                  c68:   -int=16 (MINIX systems)
                                         -int=32 (QDOS/SMS systems)
                                  c86:   -int=16 (Psion 3a systems)
                                  c30:   -int=32

              -lattice=yes|no
                        Older versions of  Lattice C had partial support
                        of prototypes  in which  a  variable  number  of
                        parameters  was   indicated  by   finishing  the
                        parameter list  with a  comma (rather  than  the
                        ANSI style  of using  ,...).  The  use  of  this
                        option means  the Lattice  syntax will  also  be
                        accepted.

                        Default:  -lattice=no

              -list=yes|no
                        Control  listing  of  symbol table.

                        Support for this option is only available if the
                        LIST configuration  option was included when the
                        compiler was  built. This option is primarily an
                        aid to helping us debug the compiler, so support
                        for this  option would  not normally be included
                        in any distribute binaries.

                        Default: -list=no


              -obsolete=yes|no
                        Specifies whether  warnings should  be generated
                        if you  use an  option that is currently part of
                        the  ANSI   C  standard,   but  which  the  ANSI
                        committee have warned may be removed from future
                        versions of  the ANSI  C standard.   Examples of
                        this  is   support  for   K&R   style   function
                        definitions.

                        Default:  -obsolete=no             (no warnings)

              -packenum=yes|no
                        Specify whether  the  compiler  should  use  the
                        smallest  integer   type  that   is  capable  of
                        containing all  the enumeration  values that are
                        defined for  a particular  enumeration type.  If
                        -packenum=no is  in effect then 'int' is used as
                        the enumeration type.

                        This option is  only supported  if the  PACKENUM
                        configuration option  was set  at the  time  the
                        compiler was  built.  We  normally do  have this
                        option supported  in  any  binaries  we  put  on
                        general distribution.

                        Default:  -packenum=no

              -revbit=yes|no
                        Control  the   order  in   which  the   compiler
                        allocates  the   bits  in   a   bitfield.    The
                        -revbit=yes option  causes the  bitfield  to  be
                        allocated starting  from the  highest number bit
                        downwards, rather than the default of allocating
                        them from bit 0 upwards.

                        Default:  -revbit=no            (start at bit 0)

              -topspeed=yes|no
                        Control whether  certain specific  extensions to
                        the C  syntax that  are used  by the  TopSpeed C
                        compiler should be treated as valid or not.

                        N.B. The fact that  the syntax  is accepted does
                             not mean  that  the  same  effect  will  be
                             obtained as  when used  under TopSpeed - in
                             most cases  the additional  information  is
                             simply ignored.

                        Whether this  option is  supported is determined
                        by whether the TOPSPEED configuration option was
                        set at the time the compiler was built.

                        Default:  -topspeed=no

              -trad=yes|no
                        Determine whether  the  compiler  should  reject
                        most of  the ANSI extensions to the original K&R
                        definition and  work  instead  in  "traditional"
                        mode.  For  more detail on what ANSI options are
                        not supported  when this  option is set, see the
                        section  later   in   this   document   on   K&R
                        Compatibility Mode.

                        Default:  -trad=no

              -uchar=yes
                        Specifies  whether   the  char   data  type   is
                        considered as  an  unsigned  integer  type  with
                        values in  the range  0  to  255,  or  a  signed
                        integer type with the range +127 to -128.

                        Default:  -uchar=no                (signed char)
              GENERAL CODE GENERATION OPTIONS

              These are options that affect the code generation process,
              but that are not dependent on the target processor type.

              -g        Output  additional   information  for  debugging
                        purposes.    Branch    optimisation   is    also
                        suppressed  even  if  the  -O  option  has  been
                        specified.  The current effect of this option is
                        to include  line  directives  in  the  generated
                        assembler output,  plus the  text of the current
                        source line as a comment.  Not all the assembler
                        can accept  the line  directive, so you may find
                        that you  cannot generate  the object  code from
                        such an  assembler source  file.  This can still
                        be useful  if you  wish to  see exactly  which C
                        source lines caused particular assembler code to
                        be generated.

                        Default:  No debugging information is generated.

              -O        Specifies that maximum optimisation available is
                        to be  used.  This  can significantly reduce the
                        size  of  the  generated  code,  and  will  also
                        normally slightly  improve on run time.  It can,
                        however,  slow  down  the  compilation  process.
                        You can  also use  the -peep  option to  turn on
                        just certain parts of the optimisation process.

                        Note that this  option is  ignored if  the -g or
                        -opt=no  options   are  also  specified  in  the
                        command line.

                        Default:  The  optimisation  triggered  by  this
                                  option is not performed.

              -code=yes|no
                        Specifies whether code is to be generated, or if
                        this run  is merely  being  used  to  check  for
                        errors in  the source  code.   The  advantage of
                        specifying the -code=no option if you are merely
                        looking for errors is that the compiler will run
                        faster if no attempt is made to generate code.

                        Default:  -code=yes

              -longdouble=yes|no
                        If set to 'yes' then 'long double' is treated as
                        being  a   distinct  type   from  'double'  with
                        different support routines.

                        Default:  -longdouble=no

                        NOTE. The software  support routines  for  'long
                              double' are  not currently  available  for
                              use  with   c386/c86/c68  so   you   would
                              normally only  consider using  this option
                              if generating inline FPU instructions.

              -opt=yes|no
                        Control the  operation of  the global optimiser.
                        Normally the  optimiser is  active as it results
                        in more efficient code.  If you wish to suppress
                        all global  optimisations then  you can  specify
                        the -opt=no  option.  You would not normally use
                        this option  unless you  suspect an error in the
                        optimiser.   Using   the  -opt=no   option  will
                        override the -O option if it is also specified.

                        Default:  -opt=yes

              -prefix=string
                        This allows the prefix that is added to external
                        symbol  names  (normally  either  an  underscore
                        character, or a null string) to be changed.  The
                        compiler takes  whatever follows the equals sign
                        as the string value.  Quotes should NOT be added
                        unless  required   by  the   parameter   parsing
                        mechanism of the host operating system.

                        Default:  This is  really   determined  by   the
                                  standards  of   the  target  operating
                                  system.  As issued the setting is:
                                       -prefix=_

              -reg=yes|no
                        Specifies constraints  on how  the  compiler  is
                        allowed  to  allocate  variables  to  registers.
                        Normally the  compiler will  try to do automatic
                        allocation of  variables to  registers according
                        to their  run-time usage.   The  -reg=no  option
                        forces the  use of  register variables only when
                        explicitly requested by the programmer.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -