www.digitalmars.com         C & C++   DMDScript  

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

reply Cris <central_p hotmail.com> writes:
Can dmd now be installed in a non-rood directory?

d:\Program Files\some dir\more dirs\The D Programming Language\dmd 0.111
Jun 05 2006
next sibling parent reply Walter Bright <newshound digitalmars.com> writes:
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.
Jun 05 2006
next sibling parent "Unknown W. Brackets" <unknown simplemachines.org> writes:
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.

Jun 05 2006
prev sibling next sibling parent Cris <central_p hotmail.com> writes:
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.

Jun 05 2006
prev sibling next sibling parent =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
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
Jun 06 2006
prev sibling parent reply James Dunne <james.jdunne gmail.com> writes:
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
Jun 06 2006
next sibling parent reply Walter Bright <newshound digitalmars.com> writes:
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.
Jun 06 2006
parent James Dunne <james.jdunne gmail.com> writes:
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
Jun 07 2006
prev sibling parent "Unknown W. Brackets" <unknown simplemachines.org> writes:
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?

Jun 06 2006
prev sibling parent reply Cris <central_p hotmail.com> writes:
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? :)
Jun 07 2006
parent reply Don Clugston <dac nospam.com.au> writes:
Cris 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

rood? what's that? :)

An ancient unit of area. 1 rood = 1011.7141056 m². I know that Americans prefer to use archaic units, rather than SI, but I've never encountered this one before. <g> I presume he means a modern directory.
Jun 07 2006
parent reply pragma <pragma_member pathlink.com> writes:
In article <e66q13$1cko$1 digitaldaemon.com>, Don Clugston says...
Cris 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

rood? what's that? :)

An ancient unit of area. 1 rood = 1011.7141056 m². I know that Americans prefer to use archaic units*, rather than SI, but I've never encountered this one before. <g> I presume he means a modern directory.

Oh, that explains it! And here I was thinking that the OP found spaces inside of directories offensive. I know I do! * - Sadly, us Yanks tend to perfer archaic units, but its really a chicken-and-egg problem. See, we're just so used to calculating our cars' fuel efficency in bushels per ferlong that it makes its way into the classroom at the cost of spending time on the 'useless' SI - and 'round we go. As a result, any discussion on 'modern' units of measure usually draw blank stares, discussions about VW Beeltes per Library of Congress and the occasional thesis on Starbucks Ventes per Man-Week. Don't even get me started on cookbooks, electronics, engineering texts, doing the laundry, or why NASA uses metric only half the time; things are really screwed up around here. <g> - EricAnderton at yahoo
Jun 07 2006
parent Bruno Medeiros <brunodomedeirosATgmail SPAM.com> writes:
pragma wrote:
 * - Sadly, us Yanks tend to perfer archaic units, but its really a
 chicken-and-egg problem.  See, we're just so used to calculating our cars' fuel
 efficency in bushels per ferlong that it makes its way into the classroom at
the
 cost of spending time on the 'useless' SI - and 'round we go.  As a result, any
 discussion on 'modern' units of measure usually draw blank stares, discussions
 about VW Beeltes per Library of Congress and the occasional thesis on Starbucks
 Ventes per Man-Week.  Don't even get me started on cookbooks, electronics,
 engineering texts, doing the laundry, or why NASA uses metric only half the
 time; things are really screwed up around here. <g> 
 
 - EricAnderton at yahoo

Another dead horse that needs dismounting :P -- Bruno Medeiros - CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Jun 07 2006