Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Changes between Version 1 and Version 2 of OutputCommandLineOptions

Show
Ignore:
Author:
ChristianK (IP: 85.178.153.163)
Timestamp:
10/27/08 15:51:15 (16 years ago)
Comment:

simplify

Legend:

Unmodified
Added
Removed
Modified
  • OutputCommandLineOptions

    v1 v2  
    11This is how they behave in LDC at the moment. If you can come up with a more consistent/intuitive setup, please make a ticket. 
    22 
    3  * ldc -c somefile.d 
     3 * ldc somefile.d 
    44   * output somefile.o 
     5   * link somefile unless -c 
     6 
     7 * ldc somefile.d <ouput switches> 
     8   * output somefile.* 
     9   * link somefile if .o is output and not -c 
     10 
     11 * ldc somefile.d -of<name> 
     12   * output name.o 
     13   * link name 
    514 
    615 * ldc -c somefile.d -of<name>.<ext> 
    817   * if ext is unknown, output name.ext.o object file 
    918 
    10  * ldc -c somefile.d <ouput switches> 
    11    * output somefile.* 
     19 * ldc somefile.d -of<name> <output switches> 
     20   * output name.* 
     21   * link name if .o is output 
    1222 
    1323 * ldc -c somefile.d -of<name>.<ext> <output switches> 
    1525   * if ext is unknown, output name.ext.* 
    1626 
    17  * ldc somefile.d 
    18    * output somefile.o 
    19    * link somefile 
    20  
    21  * ldc somefile.d -of<name> 
    22    * output name.o 
    23    * link name 
    24  
    25  * ldc somefile.d <ouput switches> 
    26    * output somefile.* 
    27    * link somefile if .o is output 
    28  
    29  * ldc somefile.d -of<name> <output switches> 
    30    * output name.* 
    31    * link name if .o is output 
    3227 
    3328TODO: Add cases for multiple source files. 
Copyright © 2008, LDC Development Team.