Re: Using Cygwin as X Emulator
Manu, Yes. Now that was a short answer. Just install cygwin with the X packages and type startx its that easy. I could be wrong by saying that you won't be able to have modulair windows like with Exceed but you do get 1 MS-Windows window with all your X-Windows. You could also run a window manager to arrange all those x-window windows Just go crazy and try cygwin-setup... Grtz, Bart *** REPLY SEPARATOR *** On 18-2-2003 at 10:42 Manu Anand wrote: Hi Gang First post here:) I would like to ask that whether it is possible to use Cygwin as X Emulator? I am connecting to a RH 7.2 box and would like to run X apps. The functionality I have in mind is that of EXceed but EXceed is atrociously costly. In case it is not possible using Cygwin,I'll like more pointers towards such a tool.In case no such tool is available how do I go about designing one?? Thank You -Manu Anand Bangalore,India DISCLAIMER: Information contained and transmitted by this E-MAIL is proprietary to Mascot Systems Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail notify us immediately at [EMAIL PROTECTED] Before opening attachments, please scan for viruses. -- 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?
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?
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?
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/
GCJ Thread.start called but threads not available
Hi all, After i compile my java program using gcj in cygwin and execute the output file i get Thread.start called but threads not available When I check GCJ it seems it has been build with thread support (see below). I compile using: gcj --main=Test -g0 -o test *java A Test.java which is basicly a class with a main method which initializes a Tester object (extends Thread) and then starts it. What am I doing wrong? I have installed/upgraded to the lastest cygwin version. $ gcj -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libgcj.spec rename spec lib to liborig Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) -- 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/