www.digitalmars.com         C & C++   DMDScript  

D.gnu - previous gcc front-end attempts?

reply "Ben Hinkle" <bhinkle4 juno.com> writes:
Can someone summarize what happened to the previous attempts to get a D
front-end?
I read some of the post in this newsgroup and it seemed like the D frontend
was successfully compiled by gcc.
I just tried adding a .cpp file to the sample front-end "treelang" that
comes with GCC and it looks like that will work as long as you compile it
with an existing g++ and not xgcc (the compiler from the previous bootstrap
stage).
How far had people gotten with the interface between gcc backend and D
front-end?

-Ben
Nov 12 2003
parent reply Jan Knepper <jan smartsoft.us> writes:
Ben Hinkle wrote:
 Can someone summarize what happened to the previous attempts to get a D
 front-end?
 I read some of the post in this newsgroup and it seemed like the D frontend
 was successfully compiled by gcc.
Correct, and it should be available for download www.opend.org However, this frontend is and old one.
 I just tried adding a .cpp file to the sample front-end "treelang" that
 comes with GCC and it looks like that will work as long as you compile it
 with an existing g++ and not xgcc (the compiler from the previous bootstrap
 stage).
 How far had people gotten with the interface between gcc backend and D
 front-end?
Some, mostly study... Jan -- ManiaC++ Jan Knepper
Nov 12 2003
parent reply "Ben Hinkle" <bhinkle4 juno.com> writes:
Does this use gcc's "main" or D's "main"?
I don't see the gcc Make-lang.in, config-lang.in, etc so I'm guessing it
uses D's main.
-Ben

"Jan Knepper" <jan smartsoft.us> wrote in message
news:bou9jv$pbm$1 digitaldaemon.com...
 Ben Hinkle wrote:
 Can someone summarize what happened to the previous attempts to get a D
 front-end?
 I read some of the post in this newsgroup and it seemed like the D
frontend
 was successfully compiled by gcc.
Correct, and it should be available for download www.opend.org However, this frontend is and old one.
 I just tried adding a .cpp file to the sample front-end "treelang" that
 comes with GCC and it looks like that will work as long as you compile
it
 with an existing g++ and not xgcc (the compiler from the previous
bootstrap
 stage).
 How far had people gotten with the interface between gcc backend and D
 front-end?
Some, mostly study... Jan -- ManiaC++ Jan Knepper
Nov 14 2003
parent Ilya Minkov <minkov cs.tum.edu> writes:
Ben Hinkle wrote:
 Does this use gcc's "main" or D's "main"?
It doesn't use anything from GCC. It was simply made sure that you can compile the front-end using the GCC compiler.
 I don't see the gcc Make-lang.in, config-lang.in, etc so I'm guessing it
 uses D's main.
Whew, this stuff makes me sick. :) -eye
Nov 14 2003