April 12, 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Friedman schrieb am Tue, 12 Apr 2005 00:03:40 -0400:
> Lots of new features, not much documentation.  The full release will be made when I sync up with the latest DMD version.
>
> http://home.earthlink.net/~dvdfrdmn/d/
>

FYI

http://dstress.kuehne.cn/raw_results/linux-i686_gdc-0.11pre http://dstress.kuehne.cn/raw_results/linux-i686_gdc-0.11pre.log

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCW+Sy3w+/yD4P9tIRAqvJAJ41YaZMHnkCl57GyKAVayE0IkPbFgCdH3Px
fW+phdVz3xZCSEUPi8gPUJY=
=nHdx
-----END PGP SIGNATURE-----
April 12, 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> David Friedman schrieb am Tue, 12 Apr 2005 00:03:40 -0400:
>> Lots of new features, not much documentation.  The full release will be made when I sync up with the latest DMD version.
>>
>> http://home.earthlink.net/~dvdfrdmn/d/
>
> FYI
>
> http://dstress.kuehne.cn/raw_results/linux-i686_gdc-0.11pre http://dstress.kuehne.cn/raw_results/linux-i686_gdc-0.11pre.log

Thanks to Anders: http://dstress.kuehne.cn/raw_results/mac-OS-X-10.3.7_gdc-0.11pre http://dstress.kuehne.cn/raw_results/mac-OS-X-10.3.7_gdc-0.11pre.log

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCW/z73w+/yD4P9tIRAtFRAKDHnRn0V/T1xL5k5B4tudvvMwhupACgu19o
HF0tc7TJeEYjA05VJeu8xVM=
=bU1P
-----END PGP SIGNATURE-----
April 12, 2005
Thomas Kuehne wrote:

> Thanks to Anders:
> http://dstress.kuehne.cn/raw_results/mac-OS-X-10.3.7_gdc-0.11pre
> http://dstress.kuehne.cn/raw_results/mac-OS-X-10.3.7_gdc-0.11pre.log

Actually it was 10.3.8, but there's not really any real difference.

"Panther"... BTW, 10.4 Tiger - with GCC 4.0 - was announced today!

--anders
April 12, 2005
David Friedman wrote:

> Lots of new features, not much documentation.  The full release will be made when I sync up with the latest DMD version.

I don't think you need to do that. You can release this as gdc 0.11 ?
And then release DMD 0.120 compatibility as gdc 0.12 "pre" instead...

> Major Improvements:
> 
> * Included Anders Björklund's patches to enable the use of frameworks on Darwin.

(and from the GDC home page: )
> # On Darwin, D object code can be linked with the system gcc.
> Likewise, gdc can link C++ object code built by the system g++.

This is most *excellent* news! Now you can build a link D programs
with regular C libraries and system frameworks, without the need
for a custom GCC build installed on the system. Works just great!

The download/install also shrinked considerable, compared to 0.10:

Binaries:
8.0K    /opt/gdc/bin/dmd
288K    /opt/gdc/bin/gdc
2.0M    /opt/gdc/include/d
2.3M    /opt/gdc/lib/libphobos.a
4.0K    /opt/gdc/lib/libphobos.spec
3.1M    /opt/gdc/lib/gcc-lib/powerpc-apple-darwin7.8.0/3.3.5/cc1d
4.0K    /opt/gdc/lib/gcc-lib/powerpc-apple-darwin7.8.0/3.3.5/crt2.o
4.0K    /opt/gdc/share/man/man1/dmd.1
4.0K    /opt/gdc/share/man/man1/gdc.1
====
2.0M    gdc.zip

Sources:
 11M    gcc-core-3.3.5.tar.bz2
2.1M    gcc-g++-3.3.5.tar.bz2
788K    gdc-0.11pre1.tar.bz2

One might even consider "promoting" GDC back up to /usr again...
Since now it wouldn't interfere with the system C/C++ compilers.

But compiling D is now as simple as a /opt/gdc/bin/gdc, anyway.
D usability on the Mac OS X platform climbed up a whole ladder!


Now all we need is those D name-mangling patches for GDC,
but they seem to be coming along just nicely on Dsource ?

http://www.dsource.org/forums/viewforum.php?f=58
(demangler is done, "just" integration left todo)

--anders
April 12, 2005
A mingwn build soon to follow :) ?

Charlie

"David Friedman" <d3rdclsmail_a_@_t_earthlink_d_._t_net> wrote in message news:d3fh9n$1gur$1@digitaldaemon.com...
> Lots of new features, not much documentation.  The full release will be made when I sync up with the latest DMD version.
>
> http://home.earthlink.net/~dvdfrdmn/d/
>
> Major Improvements:
>
> * Updated to DMD 0.113
> * Phobos is now built as target library (i.e., no need for a separate
> build step.)
> * Boehm-gc is no longer used and the Java package is no longer required.
> * Inline assembler for x86 (some limitations compared to DMD)
> * Included Anders Björklund's patches to enable the use of frameworks on
> Darwin.
>
> David


April 12, 2005
Tried the pre-release with my example large file. cc1d reports:

virtual memory exhausted: Cannot allocate memory

Even though I have ~350M phisical free memory as shown by top.  gdc fails after about 250M allocation.

What's the flag I should pass to "configure" to build a debugging version of gdc?  I can try to generate the stack trace of gdc itself when it fails.  Do you think this will help?



April 13, 2005
Because this was a pre-release and there are still some outstanding issues, I didn't want to announce it just yet... But yes, you can at least build a cross compiler with a mingw32 target now.  I haven't tried a native build under MSYS/Cygwin.

BTW, this is the only cross target currently supported 'out of the box'.

David

Charlie wrote:
> A mingwn build soon to follow :) ?
> 
> Charlie
> 
> "David Friedman" <d3rdclsmail_a_@_t_earthlink_d_._t_net> wrote in message
> news:d3fh9n$1gur$1@digitaldaemon.com...
> 
>>Lots of new features, not much documentation.  The full release will be
>>made when I sync up with the latest DMD version.
>>
>>http://home.earthlink.net/~dvdfrdmn/d/
>>
>>Major Improvements:
>>
>>* Updated to DMD 0.113
>>* Phobos is now built as target library (i.e., no need for a separate
>>build step.)
>>* Boehm-gc is no longer used and the Java package is no longer required.
>>* Inline assembler for x86 (some limitations compared to DMD)
>>* Included Anders Björklund's patches to enable the use of frameworks on
>>Darwin.
>>
>>David
> 
> 
> 
April 13, 2005
Anders F Björklund wrote:
> David Friedman wrote:
> 
>> Lots of new features, not much documentation.  The full release will be made when I sync up with the latest DMD version.
> 
> 
> I don't think you need to do that. You can release this as gdc 0.11 ?
> And then release DMD 0.120 compatibility as gdc 0.12 "pre" instead...
> 

I still need to fix some bugs and update the documentation (including your man pages ;-)

David

>> Major Improvements:
>>
>> * Included Anders Björklund's patches to enable the use of frameworks on Darwin.
> 
> 
> (and from the GDC home page: )
> 
>> # On Darwin, D object code can be linked with the system gcc.
>> Likewise, gdc can link C++ object code built by the system g++.
> 
> 
> This is most *excellent* news! Now you can build a link D programs
> with regular C libraries and system frameworks, without the need
> for a custom GCC build installed on the system. Works just great!
> 
> The download/install also shrinked considerable, compared to 0.10:
> 
> Binaries:
> 8.0K    /opt/gdc/bin/dmd
> 288K    /opt/gdc/bin/gdc
> 2.0M    /opt/gdc/include/d
> 2.3M    /opt/gdc/lib/libphobos.a
> 4.0K    /opt/gdc/lib/libphobos.spec
> 3.1M    /opt/gdc/lib/gcc-lib/powerpc-apple-darwin7.8.0/3.3.5/cc1d
> 4.0K    /opt/gdc/lib/gcc-lib/powerpc-apple-darwin7.8.0/3.3.5/crt2.o
> 4.0K    /opt/gdc/share/man/man1/dmd.1
> 4.0K    /opt/gdc/share/man/man1/gdc.1
> ====
> 2.0M    gdc.zip
> 
> Sources:
>  11M    gcc-core-3.3.5.tar.bz2
> 2.1M    gcc-g++-3.3.5.tar.bz2
> 788K    gdc-0.11pre1.tar.bz2
> 
> One might even consider "promoting" GDC back up to /usr again...
> Since now it wouldn't interfere with the system C/C++ compilers.
> 
> But compiling D is now as simple as a /opt/gdc/bin/gdc, anyway.
> D usability on the Mac OS X platform climbed up a whole ladder!
> 
> 
> Now all we need is those D name-mangling patches for GDC,
> but they seem to be coming along just nicely on Dsource ?
> 
> http://www.dsource.org/forums/viewforum.php?f=58
> (demangler is done, "just" integration left todo)
> 
> --anders
April 13, 2005
bug@d.com wrote:
> Tried the pre-release with my example large file. cc1d reports:
> 
> virtual memory exhausted: Cannot allocate memory
> 
> Even though I have ~350M phisical free memory as shown by top.  gdc fails after
> about 250M allocation.
> 
> What's the flag I should pass to "configure" to build a debugging version of
> gdc?  I can try to generate the stack trace of gdc itself when it fails.  Do you
> think this will help?
> 
> 
> 

A stack trace will definately be helpful.

Setting the CFLAGS environment variable to '-O0 -g' before running configure should work.  You could also uncomment 'D_CC_FLAGS += -O0 -g' in d/Make-lang.in.

David
April 13, 2005
Anders F Björklund wrote:
> Thomas Kuehne wrote:
> 
>> Thanks to Anders:
>> http://dstress.kuehne.cn/raw_results/mac-OS-X-10.3.7_gdc-0.11pre
>> http://dstress.kuehne.cn/raw_results/mac-OS-X-10.3.7_gdc-0.11pre.log
> 
> 
> Actually it was 10.3.8, but there's not really any real difference.
> 
> "Panther"... BTW, 10.4 Tiger - with GCC 4.0 - was announced today!
> 
> --anders

 Tyger! Tyger! burning bright
 I'm shelling out 130 bucks tonight :-p