I found a pretty useful link about writing a GCC front-end here:
http://tldp.org/HOWTO/GCC-Frontend-HOWTO.html
It describes how to write a demo front-end language for GCC.
Since D's is already written, and all I have to work on is merging the DMD 
source, it shouldn't be too hard. Just wanted to see how everything would work 
together when it actually compiles.
Another guide is here; not as useful, but still decent:
http://www.linuxjournal.com/article/7884

Anyways, I got gdc working with gcc 4.3.1 using the 4.3.1 branch that is 
located in the "branches" section of the gdc svn.
https://dgcc.svn.sourceforge.net/svnroot/dgcc/branches/dev-gcc-4.3.1/
It was pretty much the exact same as a 4.1.x installation.

I figured out that, when building gdc, gcc is used, not g++, like when building 
dmd, which I would assume is why you can't just copy and paste the front end 
source. At least part of the reason.
Anyways, any help/links/etc are appreciated. 

Reply via email to