Output of dmd and dmd.conf location

Michel Fortin michel.fortin at michelf.com
Wed Mar 24 19:27:01 PDT 2010


On 2010-03-24 17:42:49 -0400, Walter Bright <newshound1 at digitalmars.com> said:

> argv0 is where the dmd binary is.

Not if you are calling dmd from a symbolic link; in this case, it'll be 
where the symbolic link is. That's why the D for Xcode installer puts a 
trampoline program to call dmd in /usr/local/bin/ instead of a symbolic 
link. The trampoline can adjust argv0 correctly.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list