de     

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:software:porting [2010/12/03 14:31] stefanen:software:porting [2016/08/17 21:37] (current) – gelöscht stefan
Line 1: Line 1:
-====== Porting to other Platforms / 64 Bit ====== 
- 
-The SDK contains two platform dependent components: the JNI library of libusbJava and the [[en:software:compilation:bmp|macro processor bmp]]. 
-The package contains 32 bit Linux and Windows versions of this components. 64 bit Windows is fully downward compatible, i.e. users should not need to 
-recompile anything. Users of 32 bit Linux usually only need to recompile the JNI library. 
- 
-Users who ported any component are asked to send me the libraries / binaries in order that I can include them into the SDK and make them 
-usable for other users. 
- 
-===== Compiling the JNI library ===== 
-The following description is for Unix-like operating systems. 
- 
-  - Change to the directory ''libusbJava-src'' in the SDK 
-  - Set ''JAVAPREFIX'' (around line 16) to the base directory of the JAVA JDK. (''$JAVAPREFIX/include'' should contain ''jni.h'') 
-  - For other OS than Linux: replace ''$(JAVAPREFIX)/include/linux'' in ''LIBINCS'' (around line 35) by the system specific directory 
-  - Run ''make'', this compiles the JNI library 
-  - Run ''make install2'', this copies the library to ../libusbJava 
- 
-''make'' tries to build two versions of the library, a statical linked one (libusbJavaSt) and a shared linked one (libusbJavaSh). 
-When libusbJava starts it first tries to load the shared version which uses the libusb of the system.  If this fails the statical 
-version is tried which also runs on computers where no libusb is installed. 
- 
-After a new JNI library has been compiled and installed the jar archives need to be repacked. This can be done by removing the jar file and by running make in the same directory. 
- 
- 
-===== bmp ===== 
- 
-The [[en:software:compilation:bmp|macro processor bmp]] is written in [[http://www.freepascal.org|Freespascal]]. A Freepascal installation is required in order to compile the bmp. 
- 
-  - Change to the directory ''bmp'' in the SDK 
-  - Run ''make'', this compiles the binary 
-  - Run ''make install2'', this copies the library to ../bin 
- 
- 
-{{indexmenu_n>8000}} 
  
 
en/software/porting.1291386696.txt.gz · Last modified: 2010/12/03 14:31 by stefan
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]