<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://rxtx.qbang.org/wiki/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://rxtx.qbang.org/wiki/index.php?feed=atom&amp;target=Barnet&amp;title=Special%3AContributions</id>
		<title>Rxtx - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://rxtx.qbang.org/wiki/index.php?feed=atom&amp;target=Barnet&amp;title=Special%3AContributions"/>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Special:Contributions/Barnet"/>
		<updated>2026-04-27T15:37:11Z</updated>
		<subtitle>From Rxtx</subtitle>
		<generator>MediaWiki 1.15.4</generator>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows</id>
		<title>Installation on MS-Windows</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows"/>
				<updated>2008-02-28T02:03:42Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;/* Building with Eclipse/CDT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The instuctions below are a little dated, and have been copied over from the old docs. Please can someone update them:&lt;br /&gt;
&lt;br /&gt;
== Installing From Source==&lt;br /&gt;
==== Compiling for Win32 support ====&lt;br /&gt;
&lt;br /&gt;
		Get the Sun CommAPI if you want a plug-in solution.  The code &lt;br /&gt;
		is provided for people that may have demanding needs and coding&lt;br /&gt;
		ability. &lt;br /&gt;
&lt;br /&gt;
		There is only serial port code at this time.&lt;br /&gt;
&lt;br /&gt;
		Three ways of compiling win32 libraries are offered:&lt;br /&gt;
&lt;br /&gt;
			mingw32 tools in DOS&lt;br /&gt;
			lcc tools in DOS&lt;br /&gt;
			cross-compiling from Linux&lt;br /&gt;
===== mingw32 tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install mingw32  http://www.mingw.org&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Make sure the ming32\bin and jdk\bin directories are in your&lt;br /&gt;
		path.&lt;br /&gt;
		In the rxtx top directory to the following:&lt;br /&gt;
		mkdir build&lt;br /&gt;
		copy Makefile.mingw32 build\Makefile&lt;br /&gt;
		cd build&lt;br /&gt;
		edit the Makefile and make sure the directories are correct.&lt;br /&gt;
		execute the following:&lt;br /&gt;
			make&lt;br /&gt;
			make install&lt;br /&gt;
	&lt;br /&gt;
===== lcc tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Install lcc http://www.cs.virginia.edu/~lcc-win32/&lt;br /&gt;
&lt;br /&gt;
		A make file (Makefile.lcc) for compiling rxtx with lcc&lt;br /&gt;
		contributed by Valentin Pavlov&lt;br /&gt;
&lt;br /&gt;
		You will need a config.h file in the src directory.  Other&lt;br /&gt;
		builds usually generate them automatically.  The following&lt;br /&gt;
		should work.&lt;br /&gt;
&lt;br /&gt;
		#define HAVE_FCNTL_H&lt;br /&gt;
		#define HAVE_SIGNAL_H&lt;br /&gt;
		#undef HAVE_SYS_FCNTL_H&lt;br /&gt;
		#undef HAVE_SYS_FILE_H&lt;br /&gt;
		#undef HAVE_SYS_SIGNAL_H&lt;br /&gt;
		#undef HAVE_TERMIOS_H&lt;br /&gt;
		#undef HAVE_SYS_TIME_H&lt;br /&gt;
&lt;br /&gt;
		if you know how to create the above in a dos Makefile send in			the changes.&lt;br /&gt;
&lt;br /&gt;
		the following commands should then work fine on the command&lt;br /&gt;
		line.&lt;br /&gt;
&lt;br /&gt;
		cd src&lt;br /&gt;
		make -f ..\Makefile.lcc&lt;br /&gt;
&lt;br /&gt;
===== cross-compiling from Linux =====&lt;br /&gt;
&lt;br /&gt;
		Grab ming32:&lt;br /&gt;
&lt;br /&gt;
		Wayne Roberts contributed the version used by the maintainer.&lt;br /&gt;
		(Wayne is largely responsible for bringing rxtx back to win32.)&lt;br /&gt;
		http://www.linuxgrrls.org/~taj/crossmingw32-2.95-1.i386.rpm&lt;br /&gt;
		A more current version can be obtained:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/crossgcc/index.html&lt;br /&gt;
		prebuilt Binaries:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/mingw32-linux-x86-glibc-2.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
		I built the dll with jdk-1.2.2 for linux using jdk-1.2.2 &lt;br /&gt;
		include files from the win32 JDK.&lt;br /&gt;
&lt;br /&gt;
		Make sure that ming32 bin dir is the first in your path (at &lt;br /&gt;
		least before /usr/bin/gcc)&lt;br /&gt;
&lt;br /&gt;
			$ export PATH=&amp;quot; \&lt;br /&gt;
				/usr/local/cross-tools/i386-mingw32/bin/: \&lt;br /&gt;
				$PATH:/usr/X11R6/bin:/usr/local/java/bin: \&lt;br /&gt;
				/usr/local/java/jre/bin/:&amp;quot;&lt;br /&gt;
&lt;br /&gt;
		Place Sun jdk 1.2.2 win32 include files in a known location.&lt;br /&gt;
&lt;br /&gt;
			$ mkdir /home/jarvi/win32java&lt;br /&gt;
			$ cp -r /mnt/win98//java/include /home/jarvi/win32java&lt;br /&gt;
&lt;br /&gt;
			If you are developing win32 support you may want to&lt;br /&gt;
			export the location to make the config script&lt;br /&gt;
			non interactive&lt;br /&gt;
&lt;br /&gt;
			$ export WIN32INCLUDE=/home/jarvi/tools/win32-include&lt;br /&gt;
&lt;br /&gt;
		run configure to generate a Makefile&lt;br /&gt;
&lt;br /&gt;
			$ cd /home/jarvi/rxtx-*&lt;br /&gt;
			$ mkdir build&lt;br /&gt;
			$ cd build&lt;br /&gt;
			$ ../configure --target=i386-mingw32  \&lt;br /&gt;
				--host=i386-redhat-linux&lt;br /&gt;
&lt;br /&gt;
		build the class files and dll.&lt;br /&gt;
&lt;br /&gt;
			$ make&lt;br /&gt;
&lt;br /&gt;
		the files will be located in&lt;br /&gt;
&lt;br /&gt;
			rxtx-*/build/...&lt;br /&gt;
&lt;br /&gt;
		If you're looking at rxtx as an example of cross-compiling you &lt;br /&gt;
		may be interested in looking at the examples provided at:&lt;br /&gt;
&lt;br /&gt;
			ftp.xraylith.wisc.edu&lt;br /&gt;
			/pub/khan/gnu-win32/mingw32/misc/java-jni-examples.zip&lt;br /&gt;
&lt;br /&gt;
=== Building with Eclipse/CDT ===&lt;br /&gt;
These builds instructions currently depend on a [http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2/Makefile makefile] available from CodeSkin.&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse with CDT and Subclipse&lt;br /&gt;
* Install MinGW&lt;br /&gt;
* In Eclipse, select &amp;quot;New Project &amp;gt; Checkout Projects from SVN&amp;quot; and choose this repository location: http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2.&lt;br /&gt;
* Check out as a &amp;quot;project configured using the New Project Wizard&amp;quot; and choose &amp;quot;Java Project&amp;quot;.&lt;br /&gt;
* Once the project has been created, right-click on the project, select &amp;quot;new&amp;gt;other&amp;gt;Convert to a C/C++ Make Project&amp;quot;&lt;br /&gt;
* Right-click on project again and select &amp;quot;properties&amp;gt;C/C++Build&amp;quot; and change &amp;quot;Build command&amp;quot; to&lt;br /&gt;
 C:\MinGW\bin\mingw32-make&lt;br /&gt;
* Finally, hit &amp;quot;Build All&amp;quot;, which should create RXTXcomm.jar and rxtxSerial.dll&lt;br /&gt;
&lt;br /&gt;
== Installing Binaries ==&lt;br /&gt;
&lt;br /&gt;
To do...&lt;br /&gt;
&lt;br /&gt;
Consider merging with [[Installation for Windows]].&lt;br /&gt;
&lt;br /&gt;
== External References ==&lt;br /&gt;
&lt;br /&gt;
Follows are some links that might be useful:&lt;br /&gt;
&lt;br /&gt;
* http://www.codeskin.com/c2oooProg_faq.html#rxtx&lt;br /&gt;
* http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2/Makefile&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows</id>
		<title>Installation on MS-Windows</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows"/>
				<updated>2008-02-28T02:01:22Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;/* Building with Eclipse/CDT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The instuctions below are a little dated, and have been copied over from the old docs. Please can someone update them:&lt;br /&gt;
&lt;br /&gt;
== Installing From Source==&lt;br /&gt;
==== Compiling for Win32 support ====&lt;br /&gt;
&lt;br /&gt;
		Get the Sun CommAPI if you want a plug-in solution.  The code &lt;br /&gt;
		is provided for people that may have demanding needs and coding&lt;br /&gt;
		ability. &lt;br /&gt;
&lt;br /&gt;
		There is only serial port code at this time.&lt;br /&gt;
&lt;br /&gt;
		Three ways of compiling win32 libraries are offered:&lt;br /&gt;
&lt;br /&gt;
			mingw32 tools in DOS&lt;br /&gt;
			lcc tools in DOS&lt;br /&gt;
			cross-compiling from Linux&lt;br /&gt;
===== mingw32 tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install mingw32  http://www.mingw.org&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Make sure the ming32\bin and jdk\bin directories are in your&lt;br /&gt;
		path.&lt;br /&gt;
		In the rxtx top directory to the following:&lt;br /&gt;
		mkdir build&lt;br /&gt;
		copy Makefile.mingw32 build\Makefile&lt;br /&gt;
		cd build&lt;br /&gt;
		edit the Makefile and make sure the directories are correct.&lt;br /&gt;
		execute the following:&lt;br /&gt;
			make&lt;br /&gt;
			make install&lt;br /&gt;
	&lt;br /&gt;
===== lcc tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Install lcc http://www.cs.virginia.edu/~lcc-win32/&lt;br /&gt;
&lt;br /&gt;
		A make file (Makefile.lcc) for compiling rxtx with lcc&lt;br /&gt;
		contributed by Valentin Pavlov&lt;br /&gt;
&lt;br /&gt;
		You will need a config.h file in the src directory.  Other&lt;br /&gt;
		builds usually generate them automatically.  The following&lt;br /&gt;
		should work.&lt;br /&gt;
&lt;br /&gt;
		#define HAVE_FCNTL_H&lt;br /&gt;
		#define HAVE_SIGNAL_H&lt;br /&gt;
		#undef HAVE_SYS_FCNTL_H&lt;br /&gt;
		#undef HAVE_SYS_FILE_H&lt;br /&gt;
		#undef HAVE_SYS_SIGNAL_H&lt;br /&gt;
		#undef HAVE_TERMIOS_H&lt;br /&gt;
		#undef HAVE_SYS_TIME_H&lt;br /&gt;
&lt;br /&gt;
		if you know how to create the above in a dos Makefile send in			the changes.&lt;br /&gt;
&lt;br /&gt;
		the following commands should then work fine on the command&lt;br /&gt;
		line.&lt;br /&gt;
&lt;br /&gt;
		cd src&lt;br /&gt;
		make -f ..\Makefile.lcc&lt;br /&gt;
&lt;br /&gt;
===== cross-compiling from Linux =====&lt;br /&gt;
&lt;br /&gt;
		Grab ming32:&lt;br /&gt;
&lt;br /&gt;
		Wayne Roberts contributed the version used by the maintainer.&lt;br /&gt;
		(Wayne is largely responsible for bringing rxtx back to win32.)&lt;br /&gt;
		http://www.linuxgrrls.org/~taj/crossmingw32-2.95-1.i386.rpm&lt;br /&gt;
		A more current version can be obtained:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/crossgcc/index.html&lt;br /&gt;
		prebuilt Binaries:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/mingw32-linux-x86-glibc-2.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
		I built the dll with jdk-1.2.2 for linux using jdk-1.2.2 &lt;br /&gt;
		include files from the win32 JDK.&lt;br /&gt;
&lt;br /&gt;
		Make sure that ming32 bin dir is the first in your path (at &lt;br /&gt;
		least before /usr/bin/gcc)&lt;br /&gt;
&lt;br /&gt;
			$ export PATH=&amp;quot; \&lt;br /&gt;
				/usr/local/cross-tools/i386-mingw32/bin/: \&lt;br /&gt;
				$PATH:/usr/X11R6/bin:/usr/local/java/bin: \&lt;br /&gt;
				/usr/local/java/jre/bin/:&amp;quot;&lt;br /&gt;
&lt;br /&gt;
		Place Sun jdk 1.2.2 win32 include files in a known location.&lt;br /&gt;
&lt;br /&gt;
			$ mkdir /home/jarvi/win32java&lt;br /&gt;
			$ cp -r /mnt/win98//java/include /home/jarvi/win32java&lt;br /&gt;
&lt;br /&gt;
			If you are developing win32 support you may want to&lt;br /&gt;
			export the location to make the config script&lt;br /&gt;
			non interactive&lt;br /&gt;
&lt;br /&gt;
			$ export WIN32INCLUDE=/home/jarvi/tools/win32-include&lt;br /&gt;
&lt;br /&gt;
		run configure to generate a Makefile&lt;br /&gt;
&lt;br /&gt;
			$ cd /home/jarvi/rxtx-*&lt;br /&gt;
			$ mkdir build&lt;br /&gt;
			$ cd build&lt;br /&gt;
			$ ../configure --target=i386-mingw32  \&lt;br /&gt;
				--host=i386-redhat-linux&lt;br /&gt;
&lt;br /&gt;
		build the class files and dll.&lt;br /&gt;
&lt;br /&gt;
			$ make&lt;br /&gt;
&lt;br /&gt;
		the files will be located in&lt;br /&gt;
&lt;br /&gt;
			rxtx-*/build/...&lt;br /&gt;
&lt;br /&gt;
		If you're looking at rxtx as an example of cross-compiling you &lt;br /&gt;
		may be interested in looking at the examples provided at:&lt;br /&gt;
&lt;br /&gt;
			ftp.xraylith.wisc.edu&lt;br /&gt;
			/pub/khan/gnu-win32/mingw32/misc/java-jni-examples.zip&lt;br /&gt;
&lt;br /&gt;
=== Building with Eclipse/CDT ===&lt;br /&gt;
These builds instructions currently depend on a makefile available from CodeSkin.&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse with CDT and Subclipse&lt;br /&gt;
* Install MinGW&lt;br /&gt;
* In Eclipse, select &amp;quot;New Project &amp;gt; Checkout Projects from SVN&amp;quot; and choose this repository location: http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2.&lt;br /&gt;
* Check out as a &amp;quot;project configured using the New Project Wizard&amp;quot; and choose &amp;quot;Java Project&amp;quot;.&lt;br /&gt;
* Once the project has been created, right-click on the project, select &amp;quot;new&amp;gt;other&amp;gt;Convert to a C/C++ Make Project&amp;quot;&lt;br /&gt;
* Right-click on project again and select &amp;quot;properties&amp;gt;C/C++Build&amp;quot; and change &amp;quot;Build command&amp;quot; to&lt;br /&gt;
 C:\MinGW\bin\mingw32-make&lt;br /&gt;
* Finally, hit &amp;quot;Build All&amp;quot;, which should create RXTXcomm.jar and rxtxSerial.dll&lt;br /&gt;
&lt;br /&gt;
== Installing Binaries ==&lt;br /&gt;
&lt;br /&gt;
To do...&lt;br /&gt;
&lt;br /&gt;
Consider merging with [[Installation for Windows]].&lt;br /&gt;
&lt;br /&gt;
== External References ==&lt;br /&gt;
&lt;br /&gt;
Follows are some links that might be useful:&lt;br /&gt;
&lt;br /&gt;
* http://www.codeskin.com/c2oooProg_faq.html#rxtx&lt;br /&gt;
* http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2/Makefile&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows</id>
		<title>Installation on MS-Windows</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows"/>
				<updated>2008-02-28T02:00:30Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;/* External References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The instuctions below are a little dated, and have been copied over from the old docs. Please can someone update them:&lt;br /&gt;
&lt;br /&gt;
== Installing From Source==&lt;br /&gt;
==== Compiling for Win32 support ====&lt;br /&gt;
&lt;br /&gt;
		Get the Sun CommAPI if you want a plug-in solution.  The code &lt;br /&gt;
		is provided for people that may have demanding needs and coding&lt;br /&gt;
		ability. &lt;br /&gt;
&lt;br /&gt;
		There is only serial port code at this time.&lt;br /&gt;
&lt;br /&gt;
		Three ways of compiling win32 libraries are offered:&lt;br /&gt;
&lt;br /&gt;
			mingw32 tools in DOS&lt;br /&gt;
			lcc tools in DOS&lt;br /&gt;
			cross-compiling from Linux&lt;br /&gt;
===== mingw32 tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install mingw32  http://www.mingw.org&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Make sure the ming32\bin and jdk\bin directories are in your&lt;br /&gt;
		path.&lt;br /&gt;
		In the rxtx top directory to the following:&lt;br /&gt;
		mkdir build&lt;br /&gt;
		copy Makefile.mingw32 build\Makefile&lt;br /&gt;
		cd build&lt;br /&gt;
		edit the Makefile and make sure the directories are correct.&lt;br /&gt;
		execute the following:&lt;br /&gt;
			make&lt;br /&gt;
			make install&lt;br /&gt;
	&lt;br /&gt;
===== lcc tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Install lcc http://www.cs.virginia.edu/~lcc-win32/&lt;br /&gt;
&lt;br /&gt;
		A make file (Makefile.lcc) for compiling rxtx with lcc&lt;br /&gt;
		contributed by Valentin Pavlov&lt;br /&gt;
&lt;br /&gt;
		You will need a config.h file in the src directory.  Other&lt;br /&gt;
		builds usually generate them automatically.  The following&lt;br /&gt;
		should work.&lt;br /&gt;
&lt;br /&gt;
		#define HAVE_FCNTL_H&lt;br /&gt;
		#define HAVE_SIGNAL_H&lt;br /&gt;
		#undef HAVE_SYS_FCNTL_H&lt;br /&gt;
		#undef HAVE_SYS_FILE_H&lt;br /&gt;
		#undef HAVE_SYS_SIGNAL_H&lt;br /&gt;
		#undef HAVE_TERMIOS_H&lt;br /&gt;
		#undef HAVE_SYS_TIME_H&lt;br /&gt;
&lt;br /&gt;
		if you know how to create the above in a dos Makefile send in			the changes.&lt;br /&gt;
&lt;br /&gt;
		the following commands should then work fine on the command&lt;br /&gt;
		line.&lt;br /&gt;
&lt;br /&gt;
		cd src&lt;br /&gt;
		make -f ..\Makefile.lcc&lt;br /&gt;
&lt;br /&gt;
===== cross-compiling from Linux =====&lt;br /&gt;
&lt;br /&gt;
		Grab ming32:&lt;br /&gt;
&lt;br /&gt;
		Wayne Roberts contributed the version used by the maintainer.&lt;br /&gt;
		(Wayne is largely responsible for bringing rxtx back to win32.)&lt;br /&gt;
		http://www.linuxgrrls.org/~taj/crossmingw32-2.95-1.i386.rpm&lt;br /&gt;
		A more current version can be obtained:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/crossgcc/index.html&lt;br /&gt;
		prebuilt Binaries:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/mingw32-linux-x86-glibc-2.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
		I built the dll with jdk-1.2.2 for linux using jdk-1.2.2 &lt;br /&gt;
		include files from the win32 JDK.&lt;br /&gt;
&lt;br /&gt;
		Make sure that ming32 bin dir is the first in your path (at &lt;br /&gt;
		least before /usr/bin/gcc)&lt;br /&gt;
&lt;br /&gt;
			$ export PATH=&amp;quot; \&lt;br /&gt;
				/usr/local/cross-tools/i386-mingw32/bin/: \&lt;br /&gt;
				$PATH:/usr/X11R6/bin:/usr/local/java/bin: \&lt;br /&gt;
				/usr/local/java/jre/bin/:&amp;quot;&lt;br /&gt;
&lt;br /&gt;
		Place Sun jdk 1.2.2 win32 include files in a known location.&lt;br /&gt;
&lt;br /&gt;
			$ mkdir /home/jarvi/win32java&lt;br /&gt;
			$ cp -r /mnt/win98//java/include /home/jarvi/win32java&lt;br /&gt;
&lt;br /&gt;
			If you are developing win32 support you may want to&lt;br /&gt;
			export the location to make the config script&lt;br /&gt;
			non interactive&lt;br /&gt;
&lt;br /&gt;
			$ export WIN32INCLUDE=/home/jarvi/tools/win32-include&lt;br /&gt;
&lt;br /&gt;
		run configure to generate a Makefile&lt;br /&gt;
&lt;br /&gt;
			$ cd /home/jarvi/rxtx-*&lt;br /&gt;
			$ mkdir build&lt;br /&gt;
			$ cd build&lt;br /&gt;
			$ ../configure --target=i386-mingw32  \&lt;br /&gt;
				--host=i386-redhat-linux&lt;br /&gt;
&lt;br /&gt;
		build the class files and dll.&lt;br /&gt;
&lt;br /&gt;
			$ make&lt;br /&gt;
&lt;br /&gt;
		the files will be located in&lt;br /&gt;
&lt;br /&gt;
			rxtx-*/build/...&lt;br /&gt;
&lt;br /&gt;
		If you're looking at rxtx as an example of cross-compiling you &lt;br /&gt;
		may be interested in looking at the examples provided at:&lt;br /&gt;
&lt;br /&gt;
			ftp.xraylith.wisc.edu&lt;br /&gt;
			/pub/khan/gnu-win32/mingw32/misc/java-jni-examples.zip&lt;br /&gt;
&lt;br /&gt;
=== Building with Eclipse/CDT ===&lt;br /&gt;
These builds instructions currently depend on a patch available from CodeSkin.&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse with CDT and Subclipse&lt;br /&gt;
* Install MinGW&lt;br /&gt;
* In Eclipse, select &amp;quot;New Project &amp;gt; Checkout Projects from SVN&amp;quot; and choose this repository location: http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2.&lt;br /&gt;
* Check out as a &amp;quot;project configured using the New Project Wizard&amp;quot; and choose &amp;quot;Java Project&amp;quot;.&lt;br /&gt;
* Once the project has been created, right-click on the project, select &amp;quot;new&amp;gt;other&amp;gt;Convert to a C/C++ Make Project&amp;quot;&lt;br /&gt;
* Right-click on project again and select &amp;quot;properties&amp;gt;C/C++Build&amp;quot; and change &amp;quot;Build command&amp;quot; to&lt;br /&gt;
 C:\MinGW\bin\mingw32-make&lt;br /&gt;
* Finally, hit &amp;quot;Build All&amp;quot;, which should create RXTXcomm.jar and rxtxSerial.dll&lt;br /&gt;
&lt;br /&gt;
== Installing Binaries ==&lt;br /&gt;
&lt;br /&gt;
To do...&lt;br /&gt;
&lt;br /&gt;
Consider merging with [[Installation for Windows]].&lt;br /&gt;
&lt;br /&gt;
== External References ==&lt;br /&gt;
&lt;br /&gt;
Follows are some links that might be useful:&lt;br /&gt;
&lt;br /&gt;
* http://www.codeskin.com/c2oooProg_faq.html#rxtx&lt;br /&gt;
* http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2/Makefile&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows</id>
		<title>Installation on MS-Windows</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Installation_on_MS-Windows"/>
				<updated>2008-02-28T02:00:11Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;/* Building with Eclipse/CDT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The instuctions below are a little dated, and have been copied over from the old docs. Please can someone update them:&lt;br /&gt;
&lt;br /&gt;
== Installing From Source==&lt;br /&gt;
==== Compiling for Win32 support ====&lt;br /&gt;
&lt;br /&gt;
		Get the Sun CommAPI if you want a plug-in solution.  The code &lt;br /&gt;
		is provided for people that may have demanding needs and coding&lt;br /&gt;
		ability. &lt;br /&gt;
&lt;br /&gt;
		There is only serial port code at this time.&lt;br /&gt;
&lt;br /&gt;
		Three ways of compiling win32 libraries are offered:&lt;br /&gt;
&lt;br /&gt;
			mingw32 tools in DOS&lt;br /&gt;
			lcc tools in DOS&lt;br /&gt;
			cross-compiling from Linux&lt;br /&gt;
===== mingw32 tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install mingw32  http://www.mingw.org&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Make sure the ming32\bin and jdk\bin directories are in your&lt;br /&gt;
		path.&lt;br /&gt;
		In the rxtx top directory to the following:&lt;br /&gt;
		mkdir build&lt;br /&gt;
		copy Makefile.mingw32 build\Makefile&lt;br /&gt;
		cd build&lt;br /&gt;
		edit the Makefile and make sure the directories are correct.&lt;br /&gt;
		execute the following:&lt;br /&gt;
			make&lt;br /&gt;
			make install&lt;br /&gt;
	&lt;br /&gt;
===== lcc tools in DOS =====&lt;br /&gt;
&lt;br /&gt;
		Install a jdk    http://java.sun.com/j2se&lt;br /&gt;
		Install lcc http://www.cs.virginia.edu/~lcc-win32/&lt;br /&gt;
&lt;br /&gt;
		A make file (Makefile.lcc) for compiling rxtx with lcc&lt;br /&gt;
		contributed by Valentin Pavlov&lt;br /&gt;
&lt;br /&gt;
		You will need a config.h file in the src directory.  Other&lt;br /&gt;
		builds usually generate them automatically.  The following&lt;br /&gt;
		should work.&lt;br /&gt;
&lt;br /&gt;
		#define HAVE_FCNTL_H&lt;br /&gt;
		#define HAVE_SIGNAL_H&lt;br /&gt;
		#undef HAVE_SYS_FCNTL_H&lt;br /&gt;
		#undef HAVE_SYS_FILE_H&lt;br /&gt;
		#undef HAVE_SYS_SIGNAL_H&lt;br /&gt;
		#undef HAVE_TERMIOS_H&lt;br /&gt;
		#undef HAVE_SYS_TIME_H&lt;br /&gt;
&lt;br /&gt;
		if you know how to create the above in a dos Makefile send in			the changes.&lt;br /&gt;
&lt;br /&gt;
		the following commands should then work fine on the command&lt;br /&gt;
		line.&lt;br /&gt;
&lt;br /&gt;
		cd src&lt;br /&gt;
		make -f ..\Makefile.lcc&lt;br /&gt;
&lt;br /&gt;
===== cross-compiling from Linux =====&lt;br /&gt;
&lt;br /&gt;
		Grab ming32:&lt;br /&gt;
&lt;br /&gt;
		Wayne Roberts contributed the version used by the maintainer.&lt;br /&gt;
		(Wayne is largely responsible for bringing rxtx back to win32.)&lt;br /&gt;
		http://www.linuxgrrls.org/~taj/crossmingw32-2.95-1.i386.rpm&lt;br /&gt;
		A more current version can be obtained:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/crossgcc/index.html&lt;br /&gt;
		prebuilt Binaries:&lt;br /&gt;
		http://www.devolution.com/~slouken/SDL/Xmingw32/mingw32-linux-x86-glibc-2.1.tar.gz&lt;br /&gt;
&lt;br /&gt;
		I built the dll with jdk-1.2.2 for linux using jdk-1.2.2 &lt;br /&gt;
		include files from the win32 JDK.&lt;br /&gt;
&lt;br /&gt;
		Make sure that ming32 bin dir is the first in your path (at &lt;br /&gt;
		least before /usr/bin/gcc)&lt;br /&gt;
&lt;br /&gt;
			$ export PATH=&amp;quot; \&lt;br /&gt;
				/usr/local/cross-tools/i386-mingw32/bin/: \&lt;br /&gt;
				$PATH:/usr/X11R6/bin:/usr/local/java/bin: \&lt;br /&gt;
				/usr/local/java/jre/bin/:&amp;quot;&lt;br /&gt;
&lt;br /&gt;
		Place Sun jdk 1.2.2 win32 include files in a known location.&lt;br /&gt;
&lt;br /&gt;
			$ mkdir /home/jarvi/win32java&lt;br /&gt;
			$ cp -r /mnt/win98//java/include /home/jarvi/win32java&lt;br /&gt;
&lt;br /&gt;
			If you are developing win32 support you may want to&lt;br /&gt;
			export the location to make the config script&lt;br /&gt;
			non interactive&lt;br /&gt;
&lt;br /&gt;
			$ export WIN32INCLUDE=/home/jarvi/tools/win32-include&lt;br /&gt;
&lt;br /&gt;
		run configure to generate a Makefile&lt;br /&gt;
&lt;br /&gt;
			$ cd /home/jarvi/rxtx-*&lt;br /&gt;
			$ mkdir build&lt;br /&gt;
			$ cd build&lt;br /&gt;
			$ ../configure --target=i386-mingw32  \&lt;br /&gt;
				--host=i386-redhat-linux&lt;br /&gt;
&lt;br /&gt;
		build the class files and dll.&lt;br /&gt;
&lt;br /&gt;
			$ make&lt;br /&gt;
&lt;br /&gt;
		the files will be located in&lt;br /&gt;
&lt;br /&gt;
			rxtx-*/build/...&lt;br /&gt;
&lt;br /&gt;
		If you're looking at rxtx as an example of cross-compiling you &lt;br /&gt;
		may be interested in looking at the examples provided at:&lt;br /&gt;
&lt;br /&gt;
			ftp.xraylith.wisc.edu&lt;br /&gt;
			/pub/khan/gnu-win32/mingw32/misc/java-jni-examples.zip&lt;br /&gt;
&lt;br /&gt;
=== Building with Eclipse/CDT ===&lt;br /&gt;
These builds instructions currently depend on a patch available from CodeSkin.&lt;br /&gt;
&lt;br /&gt;
* Install Eclipse with CDT and Subclipse&lt;br /&gt;
* Install MinGW&lt;br /&gt;
* In Eclipse, select &amp;quot;New Project &amp;gt; Checkout Projects from SVN&amp;quot; and choose this repository location: http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2.&lt;br /&gt;
* Check out as a &amp;quot;project configured using the New Project Wizard&amp;quot; and choose &amp;quot;Java Project&amp;quot;.&lt;br /&gt;
* Once the project has been created, right-click on the project, select &amp;quot;new&amp;gt;other&amp;gt;Convert to a C/C++ Make Project&amp;quot;&lt;br /&gt;
* Right-click on project again and select &amp;quot;properties&amp;gt;C/C++Build&amp;quot; and change &amp;quot;Build command&amp;quot; to&lt;br /&gt;
 C:\MinGW\bin\mingw32-make&lt;br /&gt;
* Finally, hit &amp;quot;Build All&amp;quot;, which should create RXTXcomm.jar and rxtxSerial.dll&lt;br /&gt;
&lt;br /&gt;
== Installing Binaries ==&lt;br /&gt;
&lt;br /&gt;
To do...&lt;br /&gt;
&lt;br /&gt;
Consider merging with [[Installation for Windows]].&lt;br /&gt;
&lt;br /&gt;
== External References ==&lt;br /&gt;
&lt;br /&gt;
Follows are some links that might be useful:&lt;br /&gt;
&lt;br /&gt;
* http://www.codeskin.com/c2oooProg_faq.html#rxtx&lt;br /&gt;
* http://www.codeskin.com/pubsvn/rxtx/tags/rxtx-2.1-7r2-DTR-patch/Makefile&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Deploying_JAVA_with_RXTX</id>
		<title>Deploying JAVA with RXTX</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Deploying_JAVA_with_RXTX"/>
				<updated>2006-03-26T22:50:42Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Saving the RXTX jar-file and DLL in the JRE is not optimal if you indend to distribute your JAVA application and do not want to bundle it with a customized JRE.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
For Windows, the [http://sourceforge.net/projects/janel Janel] JAVA launcher can be used.&lt;br /&gt;
* create a directory for your application, and save the Janel executable and lap-file to it;&lt;br /&gt;
* create a subfolder named &amp;quot;classes&amp;quot; and save the jar-file of your application as well as the RXTXcomm.jar in it;&lt;br /&gt;
* create a subfolder named &amp;quot;lib&amp;quot; and save the rxtxSerial.dll to it;&lt;br /&gt;
* make the following entries in the lap-file:&lt;br /&gt;
** &amp;quot;-Djava.class.path=;${SELF_HOME}\classes\YourApp.jar;${SELF_HOME}\classes\RXTXcomm.jar;&amp;quot;&lt;br /&gt;
** &amp;quot;janel.main.class=YourAppMainClass&amp;quot;&lt;br /&gt;
** &amp;quot;janel.library.path.dir=${SELF_HOME}\lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Other Platforms ==&lt;br /&gt;
It would be great if someone with access to MacOS or Linux boxes could provide us with similar recipes for their operating system.&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Deploying_JAVA_with_RXTX</id>
		<title>Deploying JAVA with RXTX</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Deploying_JAVA_with_RXTX"/>
				<updated>2006-03-26T22:49:02Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Saving the RXTX jar-file and DLLs in the JRE is not optimal if you indent to distribute your JAVA application and do not want to bundle it with a customized JRE.&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
For Windows, the [http://sourceforge.net/projects/janel Janel] JAVA launcher can be used.&lt;br /&gt;
* create a directory for your application, and save the Janel executable and lap-file to it;&lt;br /&gt;
* create a subfolder named &amp;quot;classes&amp;quot; and save the jar-file of your application as well as the RXTXcomm.jar in it;&lt;br /&gt;
* create a subfolder named &amp;quot;lib&amp;quot; and save the rxtxSerial.dll to it;&lt;br /&gt;
* make the following entries in the lap-file:&amp;lt;br&amp;gt;&lt;br /&gt;
** &amp;quot;-Djava.class.path=;${SELF_HOME}\classes\YourApp.jar;${SELF_HOME}\classes\RXTXcomm.jar;&amp;quot;&lt;br /&gt;
** &amp;quot;janel.main.class=YourAppMainClass&amp;quot;&lt;br /&gt;
** &amp;quot;janel.library.path.dir=${SELF_HOME}\lib&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Other Platforms ==&lt;br /&gt;
It would be great if someone with access to MacOS or Linux boxes could provide us with similar recipes for their operating system.&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Using_RXTX</id>
		<title>Using RXTX</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Using_RXTX"/>
				<updated>2006-03-26T22:28:12Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for general content regarding the use of rxtx.  Feel free to add your own content.&lt;br /&gt;
&lt;br /&gt;
*[[Using RXTX In Eclipse]]&lt;br /&gt;
*[[Deploying JAVA with RXTX]]&lt;br /&gt;
&lt;br /&gt;
I wrote an app several months ago using javax.comm on windows. Sun has left me high and dry. rxtx help!&lt;br /&gt;
&lt;br /&gt;
*download [ftp://ftp.qbang.org/pub/rxtx/rxtx-2.1-7-bins-r2.zip]&lt;br /&gt;
*unzip it&lt;br /&gt;
*copy rxtxSerial.dll into your c:\program files\java\jre-version\bin dir&lt;br /&gt;
*copy RXTXcomm.jar into your c:\program files\java\jre-version\lib\ext dir&lt;br /&gt;
*change all references from 'javax.comm' to 'gnu.io'&lt;br /&gt;
*recompile&lt;br /&gt;
*test&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	<entry>
		<id>http://rxtx.qbang.org/wiki/index.php/Projects</id>
		<title>Projects</title>
		<link rel="alternate" type="text/html" href="http://rxtx.qbang.org/wiki/index.php/Projects"/>
				<updated>2006-03-26T22:07:02Z</updated>
		
		<summary type="html">&lt;p&gt;Barnet:&amp;#32;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists (some of) the projects that are using RXTX. Links are either to the projects home web pages, or to a Wiki page here that talks about how the project uses RXTX. See also the [http://users.frii.com/jarvi/rxtx/projects.html original RXTX projects page].&lt;br /&gt;
&lt;br /&gt;
[[JMRI]]: Software for model railroads&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.bikeXperience.de CDM]: CyclingDataManager - Software for manage of cycling computers (till now only german page)&amp;lt;br&amp;gt;&lt;br /&gt;
[http://home.arcor.de/i.fischer/modelledit/ ModellEditor]: Software to edit models in r/c-transmitter.&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.code-skin.com/c2oooProg.html C2oooProg]: Flash programmer for TI C2000 DSPs.&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Barnet</name></author>	</entry>

	</feed>