Can dmd now be installed in a non-rood directory?

James Dunne james.jdunne at gmail.com
Wed Jun 7 06:40:43 PDT 2006


Walter Bright wrote:
> James Dunne wrote:
> 
>> Walter Bright wrote:
>>
>>> Cris wrote:
>>>
>>>> Can dmd now be installed in a non-rood directory?
>>>>
>>>> d:\Program Files\some dir\more dirs\The D Programming Language\dmd 
>>>> 0.111
>>>
>>>
>>>
>>> It always could, but you still cannot have spaces in the path to it.
>>
>>
>> Why is that?
> 
> 
> The linker has problems with it, being built in the days when paths 
> could not have embedded spaces.

Being written in assembly language (IIRC), why should that be so hard to 
fix? =P

If for some reason the linker is unable to be fixed then why not create 
a linker-wrapper which calls the original linker with the mangled short 
filename of the corresponding passed-in long filename?

IMO it's an easy fix.  There really isn't an excuse why the linker is 
not compatible with anything better than FAT16.  Do compilers have to 
still fit entirely on floppy disks?  Does source code still have to heed 
the 80-column line limit?

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/MU/S d-pu s:+ a-->? C++++$ UL+++ P--- L+++ !E W-- N++ o? K? w--- O 
M--@ V? PS PE Y+ PGP- t+ 5 X+ !R tv-->!tv b- DI++(+) D++ G e++>e 
h>--->++ r+++ y+++
------END GEEK CODE BLOCK------

James Dunne



More information about the Digitalmars-d mailing list