From: Alan W. I. <ir...@be...> - 2001-11-14 02:09:51
|
On Tue, 13 Nov 2001, [iso-8859-1] Jo=E3o Cardoso wrote: > I don't know if this (LD_RUN_PATH) will work for the java demos, but I gu= ess that > it will. Thanks for that suggestion, but it did not work. I suspect LD_RUN_PATH is specific to ld (or ld called implicitly by gcc). man ld is the only place = I can find documentation for it. It is indeed that sort of functionality (or the sys.path.insert() functionality in python) that I am needing for java, but I haven't found such functionality, yet. Your suggestion did point me toward gcj which is a java compiler that is a variation on gcc. Once I can get that compiler to work with our code, it may well be that LD_RUN_PATH is automatically honored since there is an implicit call to ld from gcc. I like the idea that all of our C front end, our c++ front end and our java front end can potentially be compiled under gcc. So that is an additional reason to get gcj to work with our java code. However, I am having trouble. Currently gcj generates tons of undefined symbols messages, but I suspect I am just not using the correct options since the symbols I have looked at are the plplot ones that should be there if it is finding our library at link time (deja vu all over again, sort of!). Geoffrey, have you tried out gcj, and if so, how do you get it to work with our code? Alan |