[tcljava-dev] Re: tjc runtime compiler
Brought to you by:
mdejong
From: Martti T. <ma...@da...> - 2006-02-15 17:57:17
|
> From: Mo DeJong <md...@un...> > A new runtime Tcl proc compiler API has been added to the CVS version of Jacl. > This runtime compiler will take a Tcl procedure as input and generate Java > byte code that will work the same way as the original Tcl proc. Previously, > the TJC compiler only worked as a separate ahead of time compiler. > Great work. I have come up with a few minor problems running on a Linux system. I carried out the configure-make-install steps. - jaclsh installed in /usr/local/bin requires the MINGW check to be commented out. Also the JACL_CLASSPATH doesn't include the java compiler janino.jar. - jdk.cfg installed in /usr/local/bin uses ":" the linux path separator but only works if you change it to use the Windows path separator ";". Again janino.jar is missing. - running the hello world example doesn't work in jaclsh unless you create a link to the janino.jar file in the current working directory even after adding it to all the CLASSPATH's. It is installed in /usr/local/lib/tcljava1.3.2 by make install. I was unable to get runtime compilation to work in an application because it can't find the janino.jar file. Maybe I am missing some step in the make procedure or some other PATH needs to be fixed up. Cheers -- Martti Tienhaara (ma...@da...) DASH Software Ltd. |