addr2line and the name of the executable
Andrew Haley
aph@redhat.com
Wed Feb 26 12:02:00 GMT 2003
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.
More information about the Java
mailing list