Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <200302140717510271.170EF3BD@smtp.xs4all.nl> In-Reply-To: <4.3.2.7.2.20030212120648.00b465f8@mail.alphatech.com> References: <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20030211223714 DOT 00b34488 AT mail DOT alphatech DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20030211211924 DOT 00b31238 AT mail DOT alphatech DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20030211211924 DOT 00b31238 AT mail DOT alphatech DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20030211223714 DOT 00b34488 AT mail DOT alphatech DOT com> <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20030212120648 DOT 00b465f8 AT mail DOT alphatech DOT com> Date: Fri, 14 Feb 2003 07:17:51 +0100 From: "Bart Lamot" To: cygwin AT cygwin DOT com Subject: Re: Interest in gcc 3.2.2? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1E62wu30181 Alan, Ok now its clear to me, thnx! :) Well the stuff ur doin is rather intresting but i think they won't help me for now. What i am trying to do is to compile my java program to a native executable, that works but not if I use threads.... At runtime i get the warning that threads ain't available, althoug the pthread lib is there and gcc is build with the threads on option Maybe if I re-compile gcc myself...didn't try that Grtz, Bart *********** REPLY SEPARATOR *********** On 12-2-2003 at 12:16 Alan Thompson wrote: >Bart - I am using JNI, so I compile the C++ stuff with g++ 3.2.2 and I >compile the java stuff with J2SDK 1.4.1. Then, they can magically talk to >each other so I can hook up my legacy code to java, RMI, Jini, JDBC, etc. >The Java stuff runs in Sun's JRE 1.4.1 and calls the C++ code through the >JNI. I also have callbacks from the C++ code into Java objects running in >the JVM. > >So, in response to the question "Are you or aren't you compiling your java >program to a native executable??", the answer is a resounding "Yes". > >Alan Thompson > >P.S. My apologies if the JNI part didn't quite leap out in my first >message....it was a followup to a previous thread about and JNI >with g++ 3.2. > >P.P.S. I hadn't thought about compiling Java to a native executable. >I'll have to think about that for future projects, perhaps. > > >At 07:19 PM 2/12/2003 +0100, Bart Lamot wrote: >>Allen, >> >>Are you or aren't you compiling your java program to a native executable?? >>Because if you are the I don't get the Sun 1.4.1 remark... >>If you aren't (and thus are using gcj just to compile to class files and >use a JRE to run) i don't get why u are doing this if u stick with Sun..... >> >>I am lost....but am i clear? >> >>Grtz, >>Bart > > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/