Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 05, 2006 Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to James Dunne | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to James Dunne | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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 Re: Can dmd now be installed in a non-rood directory? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cris | 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? :)
|
Copyright © 1999-2021 by the D Language Foundation