May 02, 2009 Unable to run dmd from a Makefile under MacOSX | ||||
---|---|---|---|---|
| ||||
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. |
May 03, 2009 Re: Unable to run dmd from a Makefile under MacOSX | ||||
---|---|---|---|---|
| ||||
Posted in reply to Grzegorz Adam Hankiewicz | 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.
|
Copyright © 1999-2021 by the D Language Foundation