www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC 0.12

reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
http://home.earthlink.net/~dvdfrdmn/d/gdc-0.12.tar.bz2

*  Fixes
       o Various problems building MinGW in MSYS
       o Mango "endless output"
       o Build problems with gcc 3.4.1
       o Various problems revealed by dmdscript
       o Error message now go to standard error
       o DStress catch_01, catch_02, new_04, switch_19, throw_02, and 
others.
* Improvements
       o Updated to DMD 0.125
       o New target: AIX
       o GDC and DMD versions are reported with "gcc --version"
       o Take advantage of DMD template improvements on
* Changes
       o std.c.unix is now std.c.unix.unix
       o The runtime library is now "libgphobos" to avoid conflicts with 
DMD.
       o The dmd wrapper script...
	    + Is now named "gdmd".
	    + Looks for gdc in its own directory instead of searching
		the path
	    + Requires a comma after the "-q" option.


DMDScript works now, but it needs a patch:

http://home.earthlink.net/~dvdfrdmn/d/dmdscript-1.05-gdc.diff

AIX works, but there is an anoying linker problem (explained in the README.)

David
May 28 2005
next sibling parent Dave <Dave_member pathlink.com> writes:
In article <d7ar86$1e7c$1 digitaldaemon.com>, David Friedman says...
http://home.earthlink.net/~dvdfrdmn/d/gdc-0.12.tar.bz2

*  Fixes
       o Various problems building MinGW in MSYS
       o Mango "endless output"
       o Build problems with gcc 3.4.1
       o Various problems revealed by dmdscript
       o Error message now go to standard error
       o DStress catch_01, catch_02, new_04, switch_19, throw_02, and 
others.
* Improvements
       o Updated to DMD 0.125
       o New target: AIX
       o GDC and DMD versions are reported with "gcc --version"
       o Take advantage of DMD template improvements on
* Changes
       o std.c.unix is now std.c.unix.unix
       o The runtime library is now "libgphobos" to avoid conflicts with 
DMD.
       o The dmd wrapper script...
	    + Is now named "gdmd".
	    + Looks for gdc in its own directory instead of searching
		the path
	    + Requires a comma after the "-q" option.


DMDScript works now, but it needs a patch:

http://home.earthlink.net/~dvdfrdmn/d/dmdscript-1.05-gdc.diff

AIX works, but there is an anoying linker problem (explained in the README.)

David
Thanks for the update - and graciously renaming the lib and wrapper - and for all of your work on this over the past several months (or is it years now? <g>). - Dave
May 28 2005
prev sibling next sibling parent reply bug d.com writes:
In article <d7ar86$1e7c$1 digitaldaemon.com>, David Friedman says...
http://home.earthlink.net/~dvdfrdmn/d/gdc-0.12.tar.bz2
Build error: $ uname MINGW32_NT-5.1 d/gcc-mars.cc: In function `void error(Loc, const char*, ...)': d/gcc-mars.cc:72: error: `mem' undeclared (first use this function) d/gcc-mars.cc:72: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [d/gcc-mars.glue.o] Error 1 make[1]: Leaving directory `/home/build/gcc-3.4.2/gcc' make: *** [all-gcc] Error 2
May 28 2005
parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
bug d.com wrote:
 In article <d7ar86$1e7c$1 digitaldaemon.com>, David Friedman says...
 
http://home.earthlink.net/~dvdfrdmn/d/gdc-0.12.tar.bz2
Build error: $ uname MINGW32_NT-5.1 d/gcc-mars.cc: In function `void error(Loc, const char*, ...)': d/gcc-mars.cc:72: error: `mem' undeclared (first use this function) d/gcc-mars.cc:72: error: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [d/gcc-mars.glue.o] Error 1 make[1]: Leaving directory `/home/build/gcc-3.4.2/gcc' make: *** [all-gcc] Error 2
I have tried building with gcc 3.2.3 and 3.4.2, but I don't get this error. A possible workaround might be to rename /mingw/include/mem.h to something else while you build gcc. David
May 29 2005
parent bug d.com writes:
In article <d7cegh$2h39$1 digitaldaemon.com>, David Friedman says...
A possible workaround might be to rename /mingw/include/mem.h to 
something else while you build gcc.
Yes, it solves the problem. Since "mem.h" is distributed with MinGW, I wonder why not rename the "mem.d" under dmd to something like "dmd-mem.h", or even just change include "dmd/mem.h" and the CFLAGS in Makefile will avoid the conflict.
May 31 2005
prev sibling next sibling parent reply "G.Vidal" <gyvidal wanadoo.fr> writes:
Can we compile amd64 optimized programs with GDC yet?
May 29 2005
parent David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
G.Vidal wrote:
 Can we compile amd64 optimized programs with GDC yet?
 
You can use the existing -mcpu and -march options to enable some extensions, but full 64-bit mode code will not work yet. David
May 29 2005
prev sibling parent Dejan Lekic <leka entropy.tmok.com> writes:
David, I had some problems with building GCC v4.0 + GDC 0.12 . Is it
supposed to work with v4.0 of GCC, or should I wait little bit? :)

Best regards

Dejan

-- 
...........
Dejan Lekic
  http://dejan.lekic.org
  
Jun 03 2005