[Issue 4585] DMD2 should look for dmd2.conf

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 6 05:35:09 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4585



--- Comment #6 from Steven Schveighoffer <schveiguy at yahoo.com> 2010-08-06 05:35:08 PDT ---
(In reply to comment #5)
> There are system functions to get the path to the currently running executable.
> I made a function for this to Tango that works on Windows, Linux, Mac OS X and
> FreeBSD: http://dsource.org/projects/tango/attachment/ticket/1536/process.d .
> I'm willing to license the code to whatever license necessary for inclusion in
> dmd.

Thanks for the offer.  But I'd rather not get the exact executable.  I used to
use symlinks to trick dmd into thinking it was in another directory, I don't
want to disable that by having dmd ignore the symlink location.

But your offer is generous, and probably would be good to have in phobos.  I
will keep it in mind! (Phobos' process is due for an update but is blocked by a
nasty compiler bug)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list