dmdz

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Mar 18 10:35:36 PDT 2010


On 03/18/2010 12:28 PM, Clemens wrote:
> Andrei Alexandrescu Wrote:
>
>> To be frank, I even think you shouldn't worry at all about
>> "module". Just extract the blessed thing with caching and call it a
>> day. I was also thinking of simplifying options etc. by requiring a
>> file "dmdflags.txt" in the archive and then do this when you run
>> dmd:
>>
>> dmd `cat dmdflags.txt` stuff morestuff andsomemorestuff
>>
>> i.e. simply expand the file in the command line.
>
> I think it would be a good idea to stay well away from gratuitous
> portability barriers like this or that system("unzip") suggestion if
> the portable alternative isn't too much more work. I don't see why
> you wouldn't want this thing to work on Windows too.

Yah, I agree. Well `` don't need to be used in the command line, a 
std.file.readText("dmdflags") should suffice.

Andrei



More information about the Digitalmars-d mailing list