www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DMD 0.139 release

reply "Walter Bright" <newshound digitalmars.com> writes:
Fixes the 0.138 break in creal code in the linux version that Thomas
discovered. What tripped me up was linux has a different C ABI for 80 bit
reals than windows. I had thought they were the same.

http://www.digitalmars.com/d/changelog.html
Nov 07 2005
next sibling parent reply Tiago Gasiba <tiago.gasiba gmail.com> writes:
Amazing!
Thanks for such a fast update!

Now my small contribution:
Here http://www.gasiba.de/D/install, you can find a small automated instalation
script for DMD under Linux, which I use all the time I download an updated
version of the compiler.
Walter, if you think this is usefull stuff, you might want to put this script
in the digitalmars website.
Feel free to cut my copyright notice and to change the script anyway you want.

Thanks!

Tiago

-- 
Tiago Gasiba (M.Sc.) - http://www.gasiba.de
Everything should be made as simple as possible, but not simpler.
Nov 08 2005
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Tiago Gasiba wrote:

 Now my small contribution:
 Here http://www.gasiba.de/D/install, you can find a small automated
instalation script for DMD under Linux, which I use all the time I download an
updated version of the compiler.
 Walter, if you think this is usefull stuff, you might want to put this script
in the digitalmars website.
 Feel free to cut my copyright notice and to change the script anyway you want.

One thing that I never understood is why you install "dmd" in /usr/local/bin, but libphobos.a in /usr/lib ? To me, that is just assymetrical... :-) (should be: /usr/local/lib, yes ?) There are some other "unoffical" DMD installation scripts at Wiki4D: http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler But a DMD tarball, with permissions and UNIX linefeeds, would be useful. Even better would be an RPM. But only Walter / DM can make and/or authorize these, since the DMD license prevents redistribution... (but specfiles and SRPMS are available, should he want to do so?) http://www.algonet.se/~afb/d/dmd.spec (not updated for DMD 139) Currently it's not able to rebuild Phobos, due to me using GCC 4: ../stlsoft/stlsoft.h:382:4: error: #error GNU C/C++ compilers whose major version is not 2 or 3 are not currently supported by the STLSoft libraries --anders
Nov 08 2005
parent reply Georg Wrede <georg.wrede nospam.org> writes:
Anders F Bj÷rklund wrote:
 Tiago Gasiba wrote:
 Walter, if you think this is usefull stuff, you might want to put this 
 script in the digitalmars website.
 Feel free to cut my copyright notice and to change the script anyway 
 you want.

One thing that I never understood is why you install "dmd" in /usr/local/bin, but libphobos.a in /usr/lib ? To me, that is just assymetrical... :-) (should be: /usr/local/lib, yes ?) There are some other "unoffical" DMD installation scripts at Wiki4D: http://www.prowiki.org/wiki4d/wiki.cgi?D__Tutorial/InstallingDCompiler But a DMD tarball, with permissions and UNIX linefeeds, would be useful. Even better would be an RPM. But only Walter / DM can make and/or authorize these, since the DMD license prevents redistribution... (but specfiles and SRPMS are available, should he want to do so?) http://www.algonet.se/~afb/d/dmd.spec (not updated for DMD 139) Currently it's not able to rebuild Phobos, due to me using GCC 4: ../stlsoft/stlsoft.h:382:4: error: #error GNU C/C++ compilers whose major version is not 2 or 3 are not currently supported by the STLSoft libraries

I bet Walter would not only accept the following, but be happy as hell for the rest of this year: - Whenever a new version of DMD is ready, Walter copies DMD.ZIP over to his linux machine. Then he just runs `make rpm┤ and an RPM is made for him! Neat, eh?
Nov 08 2005
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Georg Wrede wrote:

 I bet Walter would not only accept the following, but be happy as hell 
 for the rest of this year:
 
  - Whenever a new version of DMD is ready, Walter copies DMD.ZIP over to 
 his linux machine. Then he just runs `make rpm┤ and an RPM is made for him!

I'm afraid it's a lot more complicated than that, at the moment: 1) Edit .spec file, bump version number 2) Build the rpms, using "rpmbuild -ba" 3) There is no step three, but to upload Then again, a dmd-0.###.tar.gz would work better than the ZIP... --anders
Nov 08 2005
parent Georg Wrede <georg.wrede nospam.org> writes:
Anders F Bj÷rklund wrote:
 Georg Wrede wrote:
 
 I bet Walter would not only accept the following, but be happy as hell 
 for the rest of this year:

  - Whenever a new version of DMD is ready, Walter copies DMD.ZIP over 
 to his linux machine. Then he just runs `make rpm┤ and an RPM is made 
 for him!

I'm afraid it's a lot more complicated than that, at the moment: 1) Edit .spec file, bump version number 2) Build the rpms, using "rpmbuild -ba" 3) There is no step three, but to upload Then again, a dmd-0.###.tar.gz would work better than the ZIP... --anders

Which needs a script given to Walter, so that the users can do ./configure make #possibly su make install that is, if we want to give him an automatic way of generating the non-windows distro. And whether it's .tar.gz or .rpm, a lot of the work is the same: Of course (1) the version number would have to be got from dmd itself, the exefiles deleted, a configure script written, a make file written, some documentation (for Walter, to use it) (and for the users of this package, kind of installing instructions) written. It would then rpmbuild (or tar) the whole thing and ftp it to www.digitalmars.com. We could call it makeMyDay.sh :-)
Nov 08 2005
prev sibling next sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Walter Bright wrote:

 Fixes the 0.138 break in creal code in the linux version that Thomas
 discovered. What tripped me up was linux has a different C ABI for 80 bit
 reals than windows. I had thought they were the same.

Good thing that they are still the same 64 bits on PowerPC, I guess ;-)
 http://www.digitalmars.com/d/changelog.html

Barring a code repository, I updated my diffs between the versions: http://www.algonet.se/~afb/d/diffs/ Shows which changes were made when, for the DMD and GDC compilers... Mirrors welcome. --anders
Nov 08 2005
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Walter Bright wrote:
 Fixes the 0.138 break in creal code in the linux version that Thomas
 discovered. What tripped me up was linux has a different C ABI for 80 bit
 reals than windows. I had thought they were the same.
 
 http://www.digitalmars.com/d/changelog.html

Now that you're working on the compiler once again, is there any chance of an answer about these any time soon? digitalmars.D/28426 digitalmars.D/28449 Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++ a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Nov 08 2005