D - Verifying DMD version
- Berin Loritsch (37/37) Nov 25 2003 When I type in the command to invoke DMD, I get the following:
- Walter (4/41) Nov 25 2003 0.75 is correct (though there's now a 0.76).
- Berin Loritsch (8/36) Nov 25 2003 I clicked the link to downlod 0.76, and this is what I got. So what's g...
- Walter (4/6) Nov 25 2003 going on?
- Berin Loritsch (6/18) Nov 26 2003 2,317,725 and 2,318,336 on disk....
- Berin Loritsch (8/32) Nov 26 2003 BTW:
- Berin Loritsch (6/19) Nov 26 2003 Ok, now that I used a different client to download it, here is what I go...
- Walter (5/8) Nov 26 2003 It's a good idea, but I don't wish to do that because so many people put
- Berin Loritsch (14/26) Nov 26 2003 :) Isn't that what a symbolic link is for?
- Walter (5/7) Nov 26 2003 new
When I type in the command to invoke DMD, I get the following: $ /dmd/bin/dmd Digital Mars D Compiler v0.75 Copyright (c) 1999-2003 by Digital Mars written by Walter Bright www.digitalmars.com/d/index.html Usage: dmd files.d ... { -switch } files.d D source files -c do not link -d allow deprecated features -g add symbolic debug info -gt add trace profiling hooks -v verbose -O optimize -odobjdir write object files to directory objdir -offilename name output file to filename -op do not strip paths from source file -Ipath where to look for imports -Llinkerflag pass linkerflag to link -debug compile in debug code -debug=level compile in debug code <= level -debug=ident compile in debug code identified by ident -inline do function inlining -release compile release version -unittest compile in unit tests -version=level compile in version code >= level -version=ident compile in version code identified by ident This is from the latest download. I have the dmc.zip installed first, and then dmd overtop of it (i.e. if there is any overlap between dmc/dm and dmd/dm then the one in dmd overwrites it. This tells me I have the wrong compiler. WIthout a nice little -V option to tell me just the version of the compiler, it is difficult to authoritatively assertain what is going on. Lastly, some of the samples included with the distribution are not working--namely those that deal with DLLs. I don't know if it means anything, but I am running XP pro.
Nov 25 2003
"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bpvl1o$23vc$1 digitaldaemon.com...When I type in the command to invoke DMD, I get the following: $ /dmd/bin/dmd Digital Mars D Compiler v0.75 Copyright (c) 1999-2003 by Digital Mars written by Walter Bright www.digitalmars.com/d/index.html Usage: dmd files.d ... { -switch } files.d D source files -c do not link -d allow deprecated features -g add symbolic debug info -gt add trace profiling hooks -v verbose -O optimize -odobjdir write object files to directory objdir -offilename name output file to filename -op do not strip paths from source file -Ipath where to look for imports -Llinkerflag pass linkerflag to link -debug compile in debug code -debug=level compile in debug code <= level -debug=ident compile in debug code identified by ident -inline do function inlining -release compile release version -unittest compile in unit tests -version=level compile in version code >= level -version=ident compile in version code identified by ident This is from the latest download. I have the dmc.zip installed first, and then dmd overtop of it (i.e. if there is any overlap between dmc/dm and dmd/dm then the one in dmd overwrites it. This tells me I have the wrong compiler. WIthout a nice little -V option to tell me just the version of the compiler, it is difficult to authoritatively assertain what is going on.0.75 is correct (though there's now a 0.76).Lastly, some of the samples included with the distribution are not working--namely those that deal with DLLs. I don't know if it means anything, but I am running XP pro.Which ones in specific?
Nov 25 2003
Walter wrote:"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bpvl1o$23vc$1 digitaldaemon.com...<snip/>When I type in the command to invoke DMD, I get the following: $ /dmd/bin/dmd Digital Mars D Compiler v0.75 Copyright (c) 1999-2003 by Digital Mars written by Walter Bright www.digitalmars.com/d/index.html Usage:I clicked the link to downlod 0.76, and this is what I got. So what's going on?This is from the latest download. I have the dmc.zip installed first, and then dmd overtop of it (i.e. if there is any overlap between dmc/dm and dmd/dm then the one in dmd overwrites it. This tells me I have the wrong compiler. WIthout a nice little -V option to tell me just the version of the compiler, it is difficult to authoritatively assertain what is going on.0.75 is correct (though there's now a 0.76).Any one that works with DLLs. The dserver.d, dclient.d, test.d, etc. samples are not working. The dserver/dclient does compile (using the script included), but only displays a bunch of error dialog boxes showing some sort of state info. The test.d compiles but does not link.Lastly, some of the samples included with the distribution are not working--namely those that deal with DLLs. I don't know if it means anything, but I am running XP pro.Which ones in specific?
Nov 25 2003
"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq0dbd$6jl$1 digitaldaemon.com...going on? The 0.76 dmd.zip file should be 2444866 bytes long.0.75 is correct (though there's now a 0.76).I clicked the link to downlod 0.76, and this is what I got. So what's
Nov 25 2003
Walter wrote:"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq0dbd$6jl$1 digitaldaemon.com...2,317,725 and 2,318,336 on disk.... so it could be I downloaded too soon after the announcement... Could you start the habit of including the version into the zip file name? Something like dmd-0.76.zip would be good enough. That way we don't have to look at file sizes and stuff to make sure we have the right version.going on? The 0.76 dmd.zip file should be 2444866 bytes long.0.75 is correct (though there's now a 0.76).I clicked the link to downlod 0.76, and this is what I got. So what's
Nov 26 2003
Berin Loritsch wrote:Walter wrote:BTW: ftp://ftp.digitalmars.com/dmd.zip is a file that has the following properties: dmd.zip 2388 KB 11/22/2003 7:48:00 AM Which translates to 2,444,866 bytes. Unfortunately my web client seems to be malfunctioning. It tells me it downloaded something when it didn't even attempt it."Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq0dbd$6jl$1 digitaldaemon.com...2,317,725 and 2,318,336 on disk.... so it could be I downloaded too soon after the announcement... Could you start the habit of including the version into the zip file name? Something like dmd-0.76.zip would be good enough. That way we don't have to look at file sizes and stuff to make sure we have the right version.going on? The 0.76 dmd.zip file should be 2444866 bytes long.0.75 is correct (though there's now a 0.76).I clicked the link to downlod 0.76, and this is what I got. So what's
Nov 26 2003
Berin Loritsch wrote:Berin Loritsch wrote:Ok, now that I used a different client to download it, here is what I got: Digital Mars D Compiler v0.76 Copyright (c) 1999-2003 by Digital Mars written by Walter Bright www.digitalmars.com/d/index.html Now I will see how nicely it plays.Walter wrote:"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq0dbd$6jl$1 digitaldaemon.com...0.75 is correct (though there's now a 0.76).I clicked the link to downlod 0.76, and this is what I got. So what's
Nov 26 2003
"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq2ag6$2vmq$1 digitaldaemon.com...Could you start the habit of including the version into the zip file name? Something like dmd-0.76.zip would be good enough. That way we don't have to look at file sizes and stuff to make sure we have the right version.It's a good idea, but I don't wish to do that because so many people put download links to it into their web pages, and once a new version is posted every link is automatically upgraded if the same name is used.
Nov 26 2003
Walter wrote:"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq2ag6$2vmq$1 digitaldaemon.com...:) Isn't that what a symbolic link is for? For instance, the actual file can be any one of these: dmd-0.75.zip dmd-0.76.zip .... dmd-0.91.zip But the universal download link to get the latest would be something like this: dmd-latest.zip In UNIX, all you need to do to create a symbolic link is: ln -s dmd-0.91.zip dmd-latest.zip I would imagine that the web server is UNIX based... Of course, the brute force of having a separate copy of the latest with a new name would also work...Could you start the habit of including the version into the zip file name? Something like dmd-0.76.zip would be good enough. That way we don't have to look at file sizes and stuff to make sure we have the right version.It's a good idea, but I don't wish to do that because so many people put download links to it into their web pages, and once a new version is posted every link is automatically upgraded if the same name is used.
Nov 26 2003
"Berin Loritsch" <bloritsch d-haven.org> wrote in message news:bq2phg$kq6$1 digitaldaemon.com...Of course, the brute force of having a separate copy of the latest with anewname would also work...You're right, and I do that with the C++ compiler. But I also want the old versions of DMD to disappear <g>.
Nov 26 2003