<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Generating .dll files for JNI under Windows/Cygwin/GCC</title>
	<atom:link href="http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/feed/" rel="self" type="application/rss+xml" />
	<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/</link>
	<description>Programming and Productivity.</description>
	<lastBuildDate>Wed, 23 Dec 2009 03:54:18 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nagy Papa</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18749</link>
		<dc:creator>Nagy Papa</dc:creator>
		<pubDate>Wed, 04 Mar 2009 11:34:23 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18749</guid>
		<description>Hi Martin, thanx for posting those misterious cygwin gcc flags. Without this blog, I could have not found it out ever..</description>
		<content:encoded><![CDATA[<p>Hi Martin, thanx for posting those misterious cygwin gcc flags. Without this blog, I could have not found it out ever..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arun</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18224</link>
		<dc:creator>arun</dc:creator>
		<pubDate>Tue, 30 Sep 2008 21:13:27 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18224</guid>
		<description>even after copying lines given below it is still giving
C:/Program Files/Java/jdk1.6.0_10/include/win32/jni_md.h:15:24: warning: extra tokens at end of #ifdef directive
and

C:/Program Files/Java/jdk1.6.0_10/include/win32/jni_md.h:17: error: syntax error before &quot;jlong&quot;


typedef long jint;
#ifdef __GNUC__typedef long long jlong;
#else 
typedef __int64 jlong;
#endif
typedef signed char jbyte;</description>
		<content:encoded><![CDATA[<p>even after copying lines given below it is still giving<br />
C:/Program Files/Java/jdk1.6.0_10/include/win32/jni_md.h:15:24: warning: extra tokens at end of #ifdef directive<br />
and</p>
<p>C:/Program Files/Java/jdk1.6.0_10/include/win32/jni_md.h:17: error: syntax error before &#8220;jlong&#8221;</p>
<p>typedef long jint;<br />
#ifdef __GNUC__typedef long long jlong;<br />
#else<br />
typedef __int64 jlong;<br />
#endif<br />
typedef signed char jbyte;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arun</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18223</link>
		<dc:creator>arun</dc:creator>
		<pubDate>Tue, 30 Sep 2008 20:22:52 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18223</guid>
		<description>in your article abour generating .dll files for JNI under windows/cygwin/gcc
you mentioned &quot; First I got compiler errors (concerning undefined jlong type) and after resolving this &quot;  how did you resolved this problem as i am also facing same problem . can you please guide me my email is arunpushkar@yahoo.com</description>
		<content:encoded><![CDATA[<p>in your article abour generating .dll files for JNI under windows/cygwin/gcc<br />
you mentioned &#8221; First I got compiler errors (concerning undefined jlong type) and after resolving this &#8221;  how did you resolved this problem as i am also facing same problem . can you please guide me my email is <a href="mailto:arunpushkar@yahoo.com">arunpushkar@yahoo.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MIrribarra</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18173</link>
		<dc:creator>MIrribarra</dc:creator>
		<pubDate>Tue, 16 Sep 2008 19:42:46 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-18173</guid>
		<description>Hi!

Well, solutions look good, but there&#039;s a couple of point about that:

1. You do not need modify header file, only put: 

-D__int64=&quot;long long&quot;

To the command to compile.

2. I can create a .dll, but it&#039;s still have depend of cygwin1.dll... why? I put &quot;-mno-cygwin&quot; and still look for that file.</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Well, solutions look good, but there&#8217;s a couple of point about that:</p>
<p>1. You do not need modify header file, only put: </p>
<p>-D__int64=&#8221;long long&#8221;</p>
<p>To the command to compile.</p>
<p>2. I can create a .dll, but it&#8217;s still have depend of cygwin1.dll&#8230; why? I put &#8220;-mno-cygwin&#8221; and still look for that file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: accidentalgurner</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-10750</link>
		<dc:creator>accidentalgurner</dc:creator>
		<pubDate>Tue, 14 Aug 2007 16:56:14 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-10750</guid>
		<description>Hi, Thanks for pinpointing the problem with the __int64.  Though i would recommend the following instead as it does not involve modifying the 3rd party header file.

in your file before you reference  enter the following line
typedef long long __int64;</description>
		<content:encoded><![CDATA[<p>Hi, Thanks for pinpointing the problem with the __int64.  Though i would recommend the following instead as it does not involve modifying the 3rd party header file.</p>
<p>in your file before you reference  enter the following line<br />
typedef long long __int64;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stevpan</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-7715</link>
		<dc:creator>stevpan</dc:creator>
		<pubDate>Mon, 18 Jun 2007 11:31:59 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-7715</guid>
		<description>Thanks a lot, it solves my problem! I&#039;m a java developer under windows. I searched google for quite some time to find this nice site.</description>
		<content:encoded><![CDATA[<p>Thanks a lot, it solves my problem! I&#8217;m a java developer under windows. I searched google for quite some time to find this nice site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-2</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 28 Jul 2004 05:12:00 +0000</pubDate>
		<guid isPermaLink="false">https://maba.wordpress.com/2004/07/28/generating-dll-files-for-jni-under-windowscygwingcc/#comment-2</guid>
		<description>You can also use the MinGW compiler - www.mingw.org (MinGW (&quot;Minimalistic GNU for Windows&quot;) refers to a set of runtime headers, used in building a compiler system based on the GNU GCC and binutils projects. - from the website) to make JNI .dlls.  I prefer this approach since it doesn&#039;t require installing Cygwin or changing any JDK files.  It took me a little while to figure out the syntax with Ant (and requires an Ant library from Sourceforge), but I prefer this approach (since I like having a simple-to-setup build environment).  If you want any details, email me at gpayne@artium.com.

Greg--&gt;</description>
		<content:encoded><![CDATA[<p>You can also use the MinGW compiler &#8211; <a href="http://www.mingw.org" rel="nofollow">http://www.mingw.org</a> (MinGW (&#8220;Minimalistic GNU for Windows&#8221;) refers to a set of runtime headers, used in building a compiler system based on the GNU GCC and binutils projects. &#8211; from the website) to make JNI .dlls.  I prefer this approach since it doesn&#8217;t require installing Cygwin or changing any JDK files.  It took me a little while to figure out the syntax with Ant (and requires an Ant library from Sourceforge), but I prefer this approach (since I like having a simple-to-setup build environment).  If you want any details, email me at <a href="mailto:gpayne@artium.com">gpayne@artium.com</a>.</p>
<p>Greg&#8211;&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
