Am Wed, 10 Jul 2013 18:23:54 +0200 schrieb Joseph Rushton Wakeling <joseph.wakel...@webdrake.net>:
> On 07/10/2013 05:25 PM, Johannes Pfau wrote: > > Getting the real application path is not simple and not portable, > > but if you really want to do that: > > I found the same links and was wondering about that, but to be honest > -- I think Iain is right and this kind of stuff is overkill. > > Let gdmd just be a script that invokes the default system gdc (i.e. > the first in the path). To do that, we just need to get the PATH > variable, and we don't even need to care about where gdmd itself is > located. Right. And you could always still accept an optional parameter --use-gdc=/path/gdc and an environment variable GDMD_GDC=/path/gdc.