Clarify placement of --opt_level=4 option with respect to run linker option in compiler guide

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: Medium

      The file stub.c is an empty one line program.

      void main() {}
      

      Build it with --opt_level=4 in the wrong place, mixed in with the linker options ...

      % cl2000 stub.c
      % cl2000 --run_linker --opt_level=4 -c stub.obj -o stub.out
      <Linking>
      >> WARNING: more than one source file is specified; option --output_file is ignored
      [_level=4.]
      Fatal error: cannot open source file "_level=4"
      1 catastrophic error detected in the compilation of "_level=4".
      Compilation terminated.
      
      >> Compilation failure
      
      >> Compilation failure
      fatal error: Failed linktime optimization
      
      >> Compilation failure
      

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Connection: Intermediate to External PROD System
                EXTSYNC-2571 - Clarify placement of --opt_level=4 ...
                SYNCHRONIZED
                • Last Sync Date: