Hi!

  I just installed TYA 0.7 JIT compiler to work with JDK 1.1.6 v2.  I
had problems installing TYA and I thought I would share with the rest
of the community how I hacked a solution.  

  First I had problems with configure not recognizing my java VM.  
Apparently this is because 'java -version' returns 
'java version "1.1.6"' and this is not covered in the case statement
in configure.  So I added a case block similar to the one for 
jdk 1.1.6v1.  That fixed the "UNRECOGNIZED" java VM problem.  However,
I still had problems with improper include files.  For some reason,
int64_t is not defined.  This is probably due to improper defines in
.../include/genunix/typedefs_md.h.  I worked around this problem by
adding the following line to the top of the 3 .c files in the tya07
distribution.

typedef long long int int64_t;

After these changes, tya compiled successfully and runs correctly.  The
changes I made are probably incorrect hacks (definitely adding the
typedef for int64_t).  Hopefully, the configure script will be fixed to
take care of the problem correctly in the future.

Thanks.
  -prashant
-- 
____________________________________________________
e-mail: [EMAIL PROTECTED]
Web: http://www.cs.cmu.edu/~prashant
Phone: 412-268-2580 (Office)
       412-268-7560 (Lab)
       412-681-3829 (Home)
____________________________________________________

Reply via email to