Bryce McKinlay wrote:
I think it would be better to define a default here. Although the .db
stuff is still experimental, it improves ease-of-use to not have to
worry about the location of this file. This location will need to be
version-specific, however, since the libraries may also be version
specific, and the db format could change in future releases.
The question remains of where this file should actually go, however.
Suggestions:
<install prefix>/share/gcj/<version>/classmap.db ?
/var/cache/gcj/<version>/classmap.db ?
In a normal multi-user environment, this is very
likely to be un-writable by ordinary users.
Would it make sense for --enable-libgcj-database
to be able to take in something like
"~/.gcj/classmap.db"? Here *gij* (and not the shell)
interprets the "~" to be the current user's $HOME.