www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC

reply "Bruno A. Costa" <bruno codata.com.br> writes:
Hi David,

You are doing a very good work with GDC. It permits the use of D language on
various platforms.

But its development is a bit slow. I suppose you are alone in this effort.
What do you think about creating a team of developers to accelerate the
work?

Bruno.
Jul 29 2004
parent reply resistor AT mac DOT com <resistor_member pathlink.com> writes:
There seems to be a lot of support for GDC, but very few people have the skills
to write it.  I know I'd love to help, but I quite frankly do not have the
knowledge of compilers in general or of GCC specifically to be of much help

-Owen

In article <ceb6je$1hdf$1 digitaldaemon.com>, Bruno A. Costa says...
Hi David,

You are doing a very good work with GDC. It permits the use of D language on
various platforms.

But its development is a bit slow. I suppose you are alone in this effort.
What do you think about creating a team of developers to accelerate the
work?

Bruno.

Jul 29 2004
parent reply bjoern <b.z. gmx.net> writes:
Hi,

I have updated the dmd directory in the gdc directory from v0.85 to 
v0.97. But I didn't really know what I did :) I used FileMerge and if a 
change seemed to be from David Friedman, I kept it, otherwise I took the 
new version. As a result I can now compile gdc with the new dmd version, 
but the resulting compiler is quite unusable... I bet someone smarter 
than me can find the bugs easily, if I would release it on dsource.org 
for example, but I don't know what David Friedman would think about it, 
so I won't release it...

- Bjoern


resistor AT mac DOT com wrote:

 There seems to be a lot of support for GDC, but very few people have 

 to write it.  I know I'd love to help, but I quite frankly do not 

 knowledge of compilers in general or of GCC specifically to be of 

 -Owen

 In article <ceb6je$1hdf$1 digitaldaemon.com>, Bruno A. Costa says...

Hi David,

You are doing a very good work with GDC. It permits the use of D 


various platforms.

But its development is a bit slow. I suppose you are alone in this 


What do you think about creating a team of developers to accelerate the
work?

Bruno.


Aug 01 2004
parent reply J C Calvarese <jcc7 cox.net> writes:
bjoern wrote:
 Hi,
 
 I have updated the dmd directory in the gdc directory from v0.85 to 
 v0.97. But I didn't really know what I did :) I used FileMerge and if a 
 change seemed to be from David Friedman, I kept it, otherwise I took the 
 new version. As a result I can now compile gdc with the new dmd version, 
 but the resulting compiler is quite unusable... I bet someone smarter 
 than me can find the bugs easily, if I would release it on dsource.org 
 for example, but I don't know what David Friedman would think about it, 
 so I won't release it...
 
 - Bjoern

Sounds interesting. Of course, it's good courtesy to get David's input before releasing what you've done, but there shouldn't be any legal problems if you release it (even if you can't contact David for his permission). It's licensed under GPL. (But I'm not a lawyer, so I could be wrong.) From the README: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Food for thought. -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Aug 03 2004
parent reply bjoern <b.z. gmx.net> writes:
J C Calvarese wrote:
 bjoern wrote:
 
 Hi,

 I have updated the dmd directory in the gdc directory from v0.85 to 
 v0.97. But I didn't really know what I did :) I used FileMerge and if 
 a change seemed to be from David Friedman, I kept it, otherwise I took 
 the new version. As a result I can now compile gdc with the new dmd 
 version, but the resulting compiler is quite unusable... I bet someone 
 smarter than me can find the bugs easily, if I would release it on 
 dsource.org for example, but I don't know what David Friedman would 
 think about it, so I won't release it...

 - Bjoern

Sounds interesting. Of course, it's good courtesy to get David's input before releasing what you've done, but there shouldn't be any legal problems if you release it (even if you can't contact David for his permission). It's licensed under GPL. (But I'm not a lawyer, so I could be wrong.) From the README: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Food for thought.

I thought about it and I decided to put a zip-file on my webspace. If you're interested, you can download it from: http://www.tu-harburg.de/~sibz0149/d-0.97-bz.zip (But I am not a compiler expert, not even a novice, so this release has bugs.) I didn't try to contact David Friedman per e-mail yet, because I was hoping, that he would read this newsgroup and reply to one of the threads concerning gdc. His last reply isn't too long ago (16.07.) where he states that he will release a new version soon. So I guess he is either busy or his interpretation of "soon" is different from mine, who is waiting for a working release :) - Bjoern
Aug 05 2004
next sibling parent reply Juanjo =?ISO-8859-15?Q?=C1lvarez?= <juanjuxNO SPAMyahoo.es> writes:
bjoern wrote:

 His last reply isn't too long ago (16.07.) where he states that he will
 release a new version soon. So I guess he is either busy or his
 interpretation of "soon" is different from mine, who is waiting for a
 working release :)

Or maybe he is in vacation like most people those days :)
Aug 05 2004
parent bjoern <b.z. gmx.net> writes:
Juanjo Álvarez wrote:

 bjoern wrote:
 
 
His last reply isn't too long ago (16.07.) where he states that he will
release a new version soon. So I guess he is either busy or his
interpretation of "soon" is different from mine, who is waiting for a
working release :)

Or maybe he is in vacation like most people those days :)

http://www.tu-harburg.de/~sibz0149/d-0.98-bz.zip
Aug 05 2004
prev sibling parent reply J C Calvarese <jcc7 cox.net> writes:
bjoern wrote:
 J C Calvarese wrote:
 
 bjoern wrote:

 Hi,

 I have updated the dmd directory in the gdc directory from v0.85 to 
 v0.97. But I didn't really know what I did :) I used FileMerge and if 
 a change seemed to be from David Friedman, I kept it, otherwise I 
 took the new version. As a result I can now compile gdc with the new 
 dmd version, but the resulting compiler is quite unusable... I bet 
 someone smarter than me can find the bugs easily, if I would release 
 it on dsource.org for example, but I don't know what David Friedman 
 would think about it, so I won't release it...

 - Bjoern

Sounds interesting. Of course, it's good courtesy to get David's input before releasing what you've done, but there shouldn't be any legal problems if you release it (even if you can't contact David for his permission). It's licensed under GPL. (But I'm not a lawyer, so I could be wrong.) From the README: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Food for thought.

I thought about it and I decided to put a zip-file on my webspace. If you're interested, you can download it from: http://www.tu-harburg.de/~sibz0149/d-0.97-bz.zip (But I am not a compiler expert, not even a novice, so this release has bugs.)

I'm definitely no expert. I won't be criticizing your efforts. :) Thanks for uploading it.
 
 I didn't try to contact David Friedman per e-mail yet, because I was 
 hoping, that he would read this newsgroup and reply to one of the 
 threads concerning gdc.
 
 His last reply isn't too long ago (16.07.) where he states that he will 
 release a new version soon. So I guess he is either busy or his 
 interpretation of "soon" is different from mine, who is waiting for a 
 working release :)

I didn't realize he had posted so recently. In any case, I hope and expect that he'll update GDC again in the future. In the meantime, people can play around with your changes if they want.
 
 - Bjoern

-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Aug 05 2004
parent reply resistor AT mac DOT com <resistor_member pathlink.com> writes:
I just compiled and installed it on my FreeBSD box, and the compiler seems to
work just fine.  Now building Phobos seems to have some problems...

-Owen

In article <ceubhu$28vc$1 digitaldaemon.com>, J C Calvarese says...
bjoern wrote:
 J C Calvarese wrote:
 
 bjoern wrote:

 Hi,

 I have updated the dmd directory in the gdc directory from v0.85 to 
 v0.97. But I didn't really know what I did :) I used FileMerge and if 
 a change seemed to be from David Friedman, I kept it, otherwise I 
 took the new version. As a result I can now compile gdc with the new 
 dmd version, but the resulting compiler is quite unusable... I bet 
 someone smarter than me can find the bugs easily, if I would release 
 it on dsource.org for example, but I don't know what David Friedman 
 would think about it, so I won't release it...

 - Bjoern

Sounds interesting. Of course, it's good courtesy to get David's input before releasing what you've done, but there shouldn't be any legal problems if you release it (even if you can't contact David for his permission). It's licensed under GPL. (But I'm not a lawyer, so I could be wrong.) From the README: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Food for thought.

I thought about it and I decided to put a zip-file on my webspace. If you're interested, you can download it from: http://www.tu-harburg.de/~sibz0149/d-0.97-bz.zip (But I am not a compiler expert, not even a novice, so this release has bugs.)

I'm definitely no expert. I won't be criticizing your efforts. :) Thanks for uploading it.
 
 I didn't try to contact David Friedman per e-mail yet, because I was 
 hoping, that he would read this newsgroup and reply to one of the 
 threads concerning gdc.
 
 His last reply isn't too long ago (16.07.) where he states that he will 
 release a new version soon. So I guess he is either busy or his 
 interpretation of "soon" is different from mine, who is waiting for a 
 working release :)

I didn't realize he had posted so recently. In any case, I hope and expect that he'll update GDC again in the future. In the meantime, people can play around with your changes if they want.
 
 - Bjoern

-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/

Aug 05 2004
parent reply bjoern <b.z. gmx.net> writes:
I have the same problem... maybe I should have mentioned how bad this 
compiler is. It seems that there is a problem with array declarations. 
While you can compile

# int[3] test = "123";

you cannot even compile

# static int[3] test = "123";

The first one will give you a runtime error. The length of an array 
seems to be set to 0 somewhere in the compiler. I have written a small 
README-BZ.txt where I try to document stuff like that.

Anyways, I hope someone else finds the bug, or can give me hints, how to 
debug the compiler. I do not know how to operate "gdb" though.

- Bjoern


resistor AT mac DOT com wrote:

 I just compiled and installed it on my FreeBSD box, and the compiler seems to
 work just fine.  Now building Phobos seems to have some problems...
 
 -Owen

Aug 06 2004
parent reply ben 0x539.de writes:
Is GDC in a usable state?

I am unable to even compile it, either by hand, or by using the portage ebuild
that was provided on the Gentoo bugtracker (which does not even notice it
failure and proceeds to tell me that I successfully merged gdc, despite the
obvious lack of an executable).

imho, the lack of a truly portable and widely available compiler, for which the
best (or fastest-to-implement, least-effort-required, although I really do not
know about compiler writing) possiblity is probably a gcc frontend, is a serious
problem for D being adopted. I, for one, cannot adopt D, as dmd is not portable
to my personal system, so I have to play around with it on a dev box via ssh. ;)

- ben
Aug 16 2004
next sibling parent reply Ilya Minkov <minkov cs.tum.edu> writes:
ben 0x539.de schrieb:
 Is GDC in a usable state?

A short while ago, it was. That is, it was said to work mostly very well.
 I am unable to even compile it, either by hand, or by using the portage ebuild
 that was provided on the Gentoo bugtracker (which does not even notice it
 failure and proceeds to tell me that I successfully merged gdc, despite the
 obvious lack of an executable).

Hum. Then someone who uses some Unix and knows GCC should fix it. :) This is probably due to some GCC changes or perhaps something else is wrong. I would be glad to help, but unfortumately i'm too short of time, and i'd have to do it on cygwin because i can't stand Unices very well.
 imho, the lack of a truly portable and widely available compiler, for which the
 best (or fastest-to-implement, least-effort-required, although I really do not
 know about compiler writing) possiblity is probably a gcc frontend, is a
serious
 problem for D being adopted. I, for one, cannot adopt D, as dmd is not portable
 to my personal system, so I have to play around with it on a dev box via ssh.
;)

What have we done to you? You talk as if we should be ashamed of something and alike. We, lazy bastards don't promote our favorite language. We're simply not much better than yourself. What a shame. -eye
Aug 17 2004
parent reply Ben Herr <Ben_member pathlink.com> writes:
In article <cft2ck$140e$1 digitaldaemon.com>, Ilya Minkov says...
ben 0x539.de schrieb:
 Is GDC in a usable state?

A short while ago, it was. That is, it was said to work mostly very well.

That's good to hear :)
 I am unable to even compile it, either by hand, or by using the portage ebuild
 that was provided on the Gentoo bugtracker (which does not even notice it
 failure and proceeds to tell me that I successfully merged gdc, despite the
 obvious lack of an executable).

Hum. Then someone who uses some Unix and knows GCC should fix it. :) This is probably due to some GCC changes or perhaps something else is wrong. I would be glad to help, but unfortumately i'm too short of time, and i'd have to do it on cygwin because i can't stand Unices very well.

Well, if it is actually compiling, I might be able to hack the gcc source tree enough on my own, or perhaps downgrade a bit.
 imho, the lack of a truly portable and widely available compiler, for which the
 best (or fastest-to-implement, least-effort-required, although I really do not
 know about compiler writing) possiblity is probably a gcc frontend, is a
serious
 problem for D being adopted. I, for one, cannot adopt D, as dmd is not portable
 to my personal system, so I have to play around with it on a dev box via ssh.
;)

What have we done to you? You talk as if we should be ashamed of something and alike. We, lazy bastards don't promote our favorite language. We're simply not much better than yourself. What a shame.

Oops, sorry. This was not supposed like an attack -- I am aware of and greatly appreciate the effort everybody is putting into this. I just wanted to give a kind of status report, and some reasoning as to why you folks' work rocks so much. I guess I forgot to stress that part.
-eye

Forgive me :) - ben
Aug 17 2004
parent Ilya Minkov <minkov cs.tum.edu> writes:
Ben Herr schrieb:
 Oops, sorry. This was not supposed like an attack -- I am aware of and greatly
 appreciate the effort everybody is putting into this.
 I just wanted to give a kind of status report, and some reasoning as to why you
 folks' work rocks so much. I guess I forgot to stress that part.

I'm sorry. I should drop that habit of chasing people into the dead end. :)
Aug 18 2004
prev sibling parent reply J C Calvarese <jcc7 cox.net> writes:
ben 0x539.de wrote:
 Is GDC in a usable state?
 
 I am unable to even compile it, either by hand, or by using the portage ebuild
 that was provided on the Gentoo bugtracker (which does not even notice it
 failure and proceeds to tell me that I successfully merged gdc, despite the
 obvious lack of an executable).

I don't have much experience with Linux/GNU/GCC/portage things, but have you tried the package at? http://home.earthlink.net/~dvdfrdmn/d/ I had the impression that it compiled and worked reasonably well back when it was first released. -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Aug 17 2004
parent Ben Herr <Ben_member pathlink.com> writes:
In article <cfu2ro$1j3p$1 digitaldaemon.com>, J C Calvarese says...
I don't have much experience with Linux/GNU/GCC/portage things, but have 
you tried the package at?

http://home.earthlink.net/~dvdfrdmn/d/

I had the impression that it compiled and worked reasonably well back 
when it was first released.

Mhm, indeed. I now do have a gdc executable, but I failed to build phobos. Thanks :) -ben
Aug 17 2004