On 2010-03-24 17:42:49 -0400, Walter Bright <newshou...@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.for...@michelf.com
http://michelf.com/

Reply via email to