[Bug java/15474] libgcj jar file should always be in classpath at runtime

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 25 18:01:00 GMT 2004


------- Additional Comments From green at redhat dot com  2004-08-25 18:01 -------
(In reply to comment #6)
> We'll continue to use the existing properties, of course. But how is this
> property set? Is it compiled in based on the --prefix when libgcj is built? 

Yes.

> If
> so, thats wrong, because libgcj.so and its associated files could be moved at
> runtime.

I don't think it's necessarily wrong.  You can override the builtin values at
runtime with GCJ_PROPERTIES, just as you may override the library location with
LD_LIBRARY_PATH.  That being said, there is probably room to improve this scheme.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15474



More information about the Gcc-bugs mailing list