This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interest in gcc 3.2.2?


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


*********** 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
> was a followup to a previous thread about <iostream> 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:
>>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?
>Unsubscribe info:
>Bug reporting:

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]