This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Maybe, but you simply cannot assume that argv[0] contains the path to the current executable. It's a fragile technique that runs the risk of horrors like this one. /proc/self/exe works on Linux.
OK, I'll re-add the GIJ_EXECUTABLE logic if Bryce agrees.
- gij won't work from the testsuite, or the wrong gij will be tested - gij will break if the user moves an installed libgcj tree
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |