Jump to page: 1 2
Thread overview
Can dmd now be installed in a non-rood directory?
Jun 05, 2006
Cris
Jun 05, 2006
Walter Bright
Jun 06, 2006
Cris
Jun 06, 2006
James Dunne
Jun 06, 2006
Walter Bright
Jun 07, 2006
James Dunne
Jun 07, 2006
Cris
Jun 07, 2006
Don Clugston
[OT] Re: Can dmd now be installed in a non-rood directory?
Jun 07, 2006
pragma
Jun 07, 2006
Bruno Medeiros
June 05, 2006
Can dmd now be installed in a non-rood directory?

d:\Program Files\some dir\more dirs\The D Programming Language\dmd 0.111
June 05, 2006
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.
June 06, 2006
Well, that's not entirely accurate.

I have it installed in "D:\Program Files\Digital Mars", and it works fine.  However, I had to customize sc.ini slightly.  Upgrading is still easy.

-[Unknown]


> 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.
June 06, 2006
I hope we'll be able to have white spaces in the path soon.

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.
l
June 06, 2006
Walter Bright 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.

It can also be installed as a non-root *user* on Linux, following the instructions listed at:
http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler#InstallingDMDonLinuxX86

The instructions on the DMD home page assumes that you can access /etc, /usr/local/bin [sic] and /usr/lib - which you can't if you are not root.

--anders
June 06, 2006
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?

-- 
-----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
June 06, 2006
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.
June 07, 2006
You have to use the short filename version of the path, e.g. D:\Progra~1\Digita~1\bin\link.exe.

Use dir /x to find out what the path is (the 1 increments per each duplicate entry.)  Or actually, you probably already know that.

-[Unknown]


> 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?
> 
June 07, 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
June 07, 2006
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

rood? what's that? :)
« First   ‹ Prev
1 2