Unable to run dmd from a Makefile under MacOSX
Grzegorz Adam Hankiewicz
gradha at titanium.sabren.com
Sun May 3 03:05:33 PDT 2009
Grzegorz Adam Hankiewicz escribió:
> Hi.
>
> I'm finding trouble running dmd inside a Makefile. For some reason the
> dmd binary is never found, even though it is in my PATH and can be run
> from the commandline.
>
> I've read the Makefile documentation but I haven't found anything about
> commands using the shell/environment. Maybe it's a bash problem? I'm
> adding the path to the dmd binary in an export command inside my
> ..bash_profile.
>
> For now I'm just modifying the makefiles to have a full path to dmd, but
> that's getting tiresome.
Looks like the problem was using ~. Manually expanding that to the full
path makes it work inside Makefiles too.
More information about the Digitalmars-d-learn
mailing list