~ljrt-dev/ljrt/ljrt.newjavalib

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Installation instructions


Set the environment variable J2C_HOME to the directory containing the
compiler, preferably put it in your .zsh, .csh, etc. depending on your
shell:

	export J2C_HOME=/usr/local/ljrt



How to use

Copy the makefile template to your project directory:

	 cd <projdir>
	 cp ${J2C_HOME}/Makefile.skel Makefile

Edit the Makefile to suit your specific needs.
Run it to bootstrap the build system:

       make

Create a separate build directory, in order not to clutter your source
code directory:

	mkdir build
	cd build

You may now configure and build your application. You may look at the
available configure options by running ../configure --help. The
minimal configuration needed to compile an application on
(non-realtime) pthreads is:

	../configure --with-thread=pthread

If all went well, just type make (make run or make install is
optional):
	make

Some compiler test cases are located in ${J2C_HOME}/J2CTranslator/test
and it may be a good idea to take a look at them.



For more information, please look at the homepage:
http://www.robot.lth.se/java/


Author: Anders Nilsson <anders.nilsson@cs.lth.se>