Link time optimization in D

Walter Bright newshound1 at digitalmars.com
Tue Jun 1 12:09:10 PDT 2010


Andrei Alexandrescu wrote:
> On 06/01/2010 01:42 PM, Walter Bright wrote:
>> Andrei Alexandrescu wrote:
>>> I now realize that for large projects a future need would be for dmd
>>> to read files off the standard input. The length of the command line
>>> is limited.
>>
>> dmd can read command lines from a file with the:
>>
>> dmd @command.txt
>>
>> syntax. There is no limit to the command line length this way. Also, dmd
>> can read command lines from an environment variable using:
>>
>> dmd @COMMAND
>>
>> These can be arbitrarily combined with other switches:
>>
>> dmd -inline @command.txt -release @COMMAND
> 
> Windows syntax, bleh. :o|

Actually, this goes back to DOS in 1983 or so, because DOS had a 128 byte 
command line length limit.


More information about the Digitalmars-d mailing list