Re: Interest in gcc 3.2.2?

2003-02-19 Thread Brian Ford
Um, thanks, but I know how to install the compiler.

Just understand that this compiler does not align doubles the same as the
Cygwin one.

That means you can not pass any structure containing doubles to any
object compiled with the Cygwin compiler, including any Cygwin libraries.

On Sun, 16 Feb 2003, Alan Thompson wrote:

 Hi Brian - It ended up working pretty well after all.  Just follow the
 standard instructions that come with the gcc 3.2.2 distribution.


-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444


--
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/




Re: Interest in gcc 3.2.2?

2003-02-13 Thread Bart Lamot
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
messageit 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:
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 lostbut 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/




RE: Interest in gcc 3.2.2?

2003-02-12 Thread [EMAIL PROTECTED]


Original Message:
-
From: Alan Thompson [EMAIL PROTECTED]
Date: Tue, 11 Feb 2003 21:27:00 -0800
To: [EMAIL PROTECTED]
Subject: Interest in gcc 3.2.2?


Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  

Could be.  I'd suggest avoiding this situation just to be safe.

Larry


mail2web - Check your email from the web at
http://mail2web.com/ .



--
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/




Re: Interest in gcc 3.2.2?

2003-02-12 Thread Bart Lamot
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 lostbut am i clear?

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 22:37 Alan Thompson wrote:

P.S.  I'm using Java 1.4.1 from Sun.
Alan

At 07:31 AM 2/12/2003 +0100, Bart Lamot wrote:
Alan,

Do you have threads working? I can't get them to work if i compile a java
program that has a Thread object it does compile but at runtime i get the
error that threads ain't implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


--
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/



--
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/




Re: Interest in gcc 3.2.2?

2003-02-11 Thread Bart Lamot
Alan,

Do you have threads working? I can't get them to work if i compile a java program that 
has a Thread object it does compile but at runtime i get the error that threads ain't 
implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


--
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/




Re: Interest in gcc 3.2.2?

2003-02-11 Thread Alan Thompson
As luck would have it, the progam I'm working on has multiple threads (in the Java 
code).  I haven't stress tested it with 3.2.2, 
but the normal test run worked fine.  Here is a quick grep on Thread in my code:

 find src -name *.java | xargs  grep Thread
src/jxda/PublisherImpl.java:Thread.sleep( 500 );  // milliseconds
src/jxda/PublisherImpl.java:  new Thread( new Worker(), Worker.class.getName() 
).start();
src/jxda/PublisherImpl.java:  new Thread( runnable ).start();
src/jxda/PublisherImpl.java:try { Thread.sleep( 2 * 1000 ); } catch ( 
Exception ex ) {}
src/jxda/PublisherImpl.java:new Thread( runnable ).start();


Alan Thompson


At 07:31 AM 2/12/2003 +0100, Bart Lamot wrote:
Alan,

Do you have threads working? I can't get them to work if i compile a java program 
that has a Thread object it does compile but at runtime i get the error that threads 
ain't implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


--
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/



--
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/




Re: Interest in gcc 3.2.2?

2003-02-11 Thread Alan Thompson
P.S.  I'm using Java 1.4.1 from Sun.
Alan

At 07:31 AM 2/12/2003 +0100, Bart Lamot wrote:
Alan,

Do you have threads working? I can't get them to work if i compile a java program 
that has a Thread object it does compile but at runtime i get the error that threads 
ain't implemented

Grtz,
Bart

*** REPLY SEPARATOR  ***

On 11-2-2003 at 21:27 Alan Thompson wrote:

Hi all - I downloaded gcc 3.2.2 sources, compiled, and got it working on
Cygwin.  However, I am concerned if I might later encounter any clashes
with /usr/lib/mingw, since I overwrote some of the lib*.a files there.

Are there any problems with this?  The cygwin setup seems a little
different than the standard gcc install setup.  Is there any interest in
bumping the standard cygwin gcc to 3.2.2?  Running gcc --version produces
gcc (GCC) 3.2 20020927 (prerelease).  Is there much difference between
this version and gcc 3.2.2?

Alan Thompson

P.S. I got the JNI and iostream stuff working both both the 3.2 and
3.2.2 versions.  I can provide details if anyone is interested.


--
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/



--
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/