[Issue 278] New: dmd.conf search path dosn't work
Walter Bright
newshound at digitalmars.com
Fri Aug 4 18:55:37 PDT 2006
Sean Kelly wrote:
> I was being lazy and trying to avoid starting my Linux VM :-) But I
> just wrote an app like the above, compiled it as "app", moved the
> executable to /dmd/bin, and ran it. As suspected, argv[0] was "app" and
> not "/dmd/bin/app" as the DMD front-end seems to expect. I also
> couldn't find a built-in way to determine the location of the executing
> process, so it may be that DMD will have to iterate across the PATH list
> as Build does.
I see, that explains why it worked for me (I used direct path names).
More information about the Digitalmars-d-bugs
mailing list