------- Comment #1 from mckinlay at redhat dot com 2006-06-29 18:10 ------- Using /proc/self/exe would only work for "gij" - we'd want a solution that can work for native binaries as well, so figuring out the prefix based on libgcj.so's location is probably better.
On Linux, this can be found with dl_iterate_phdr(). -- mckinlay at redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mckinlay at redhat dot com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-06-29 18:10:01 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28175