This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: addr2line and the name of the executable
Ranjit Mathew writes:
>
> Actually there *are* programs which behave differently depending on the
> actual command used to invoke them.
Yes, and this is unspeakably EVIL and not portable to all gcj targets.
Let 'em write shell scripts if they really want to do this.
> Given that even Microsoft has discarded their full-path-to-exe approach
> to argv[0] and have decided to honour the UNIX convention in their "modern"
> operating systems like Win2K/WinXP, it can't be *that* terrible an idea,
> can it? ;-)
Yes it can.
Andrew.