Why use '/proc/self/exe' in prims.cc?
Thu Nov 7 04:38:00 GMT 2002
The subject sums it up: the libgcj configure
script sets HAVE_PROC_SELF_EXE if /proc/self/exe is
present and prims.cc sets _Jv_ThisExecutable using
the value of /proc/<curr-pid>/exe. If this is not
defined, the fallback is to use argv.
The problem is that autoconf-generated configure dies
out during a cross-compiling (if with_cross_host is
defined) saying that "Cannot check existence of
file during cross-compiling".
What is wrong with using just argv?
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/
More information about the Java