www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is there a current version of rdmd for gdc?

reply "Gary Willoughby" <dev nomad.so> writes:
Is there a current version of rdmd for gdc?
Oct 03 2014
next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Friday, 3 October 2014 at 19:00:19 UTC, Gary Willoughby wrote:
 Is there a current version of rdmd for gdc?
rdmd takes a --compiler= option, which you could use to specify gdmd (the dmd-style interface to gdc). However, I'm unsure about the current status of gdmd.
Oct 03 2014
prev sibling parent ketmar via Digitalmars-d-learn <digitalmars-d-learn puremagic.com> writes:
On Fri, 03 Oct 2014 19:00:17 +0000
Gary Willoughby via Digitalmars-d-learn
<digitalmars-d-learn puremagic.com> wrote:

 Is there a current version of rdmd for gdc?
it depends on what you need from it. i have port of rdmd titled rgdc: http://repo.or.cz/w/rgdc.git yet i removed the features i don't need (--eval, for example), added some arcane features, using my -fwrite-libs=3D patch for gdc (but this can be turned off), and -fdeps=3D instead of -fmake-mdeps=3D (but this is minor thing actually). it needs config file to work right (sample included). it also translates some of dmd command line args (actually, only "-version", "-debug" and one or two more). otherwise it works and i'm using it alot. feel free to clone and improve it. happy hacking.
Oct 03 2014