ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-dev
tcljava-dev
[tcljava-dev] Re: tjc runtime compiler
by Martti Tienhaara other posts by this author
Feb 15 2006 9:58AM messages near this date
Re: [tcljava-dev] Performance results for new TJC compiler | [tcljava-dev] Re: tjc runtime compiler
>  From: Mo DeJong <mdejong@[...].org>

>  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 (martti@dash.ca)
DASH Software Ltd.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
tcljava-dev mailing list
tcljava-dev@[...].net
https://lists.sourceforge.net/lists/listinfo/tcljava-dev
Thread:
Martti Tienhaara
Martti Tienhaara
Mo DeJong
Mo DeJong

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved