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 [2011/09/26 21:29] 84.181.90.182en:software:porting [2016/08/17 21:37] (current) – gelöscht stefan
Line 1: Line 1:
-====== Porting to other Platforms ====== 
- 
-The SDK contains two platform dependent components: the JNI library of libusbJava and the [[en:software:compilation:bmp|macro processor bmp]]. 
-The package contains binaries (32 and 64 bit) for Linux and Windows.  
- 
-In order to add support for other platform the two platform dependent components need to be rebuild. 
- 
-===== Compiling the JNI library ===== 
-The following description is for Unix-like operating systems. 
- 
-  - Change to the directory ''libusbJava-src'' in the SDK 
-  - in ''Makefile'': set ''JAVAPREFIX'' (around line 16) to the base directory of the JAVA JDK. (''$JAVAPREFIX/include'' should contain ''jni.h'') 
-  - in ''Makefile'': replace ''$(JAVAPREFIX)/include/linux'' in ''LIBINCS'' (around line 35) by the system specific directory 
-  - in ''Makefile'': Apply other system specific modifications if necessary 
-  - Run ''make'', this compiles the JNI library 
-  - Run ''make install2'', this copies the library to ../libusbJava 
- 
-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 
-  - in ''Makefile'': Apply system specific modifications if necessary 
-  - Run ''make'', this compiles the binary 
-  - Run ''make install2'', this copies the library to ../bin 
- 
- 
-{{indexmenu_n>9000}} 
  
 
en/software/porting.1317072554.txt.gz · Last modified: 2011/09/26 21:29 by 84.181.90.182
 
Recent changes RSS feed Creative Commons License Powered by PHP Debian Driven by DokuWiki
[ZTEX Home] [Imprint] [Privacy policy]