Components of CRuntimeJavalike
From Java4c
Contents |
Navigation
Overview
CRuntimeJavalike is a tree of C-files with makefiles to build libraries. All files are written by Hartmut Schorrig, www.vishia.org. They are used in some applications in profession too (with second license model). It is a conglomeration of different things, of course.
The CRuntimeJavalike can be used in any application. It contains a OSAL-layer, which is provided for Windows and Linux. The OSAL-layer have to be adapted for other operation systems. Some adaption exists and are tested and used in profession. With adapting the OSAL-layer the sources can be used and the examples can run on any platform.
Distribution and sources in internet
- distribution: [sf.net/projects/java2c] The CRuntimeJavalike is distributed as part of the Java2C-Translator. But it can be used without this translator too. Download the distribution and use only the CRuntimeJavalike. [sf.net/projects/zbnf]
- bazaar-archive on [launchpad.net/jc]
- description, home-site on [www.vishia.org/Jc]
OSAL
See OSAL. The OSAL-component contains
- C-files, which are special written for the appropriate operation system.
- One Headerfile, which contains some depending definitions which should be adapted to the platform, os and compiler. It is the os_types_def.h.
- Headerfiles, which are independent of the operation system. It describes the OSAL-interface.
- Headerfiles, which contains simple C-definitions and declarations. It are independent of compiler, platform and os.
- C-files, which contains common sources for OSAL
- C-files, which contains common sources for simple C-functions. It can be used in the OSAL-Adaption.
With this Sources a application can be written os-indenpendent. All this sources are independent of the Java2C-thinking. This sources are not complex. There are not any assumption to Java.