Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.2.0.58.20000911164031.009a1100@mailx.u-picardie.fr> X-Sender: cormier AT mailx DOT u-picardie DOT fr (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Mon, 11 Sep 2000 16:46:12 +0200 To: cygwin AT sources DOT redhat DOT com From: cormier Subject: Cygwin, W98 and gcj Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Thanks in advance to anybody who have time to waste. Loading last version of Cygwin on W98 Loading all http://www.cs.bris.ac.uk/~jb7216/libgcj/ standard AT OEMCOMPUTER ~ $ cat bonjour.c main(){ printf("Hello\n"); } standard AT OEMCOMPUTER ~ $ gcc bonjour.c -o bonjour standard AT OEMCOMPUTER ~ $ ./bonjour Hello standard AT OEMCOMPUTER ~ $ cat Hello.java public class Hello{ public static void main(String[] args){ System.out.println("Hello \n"); } } standard AT OEMCOMPUTER ~ $ gcj --main=Hello -o Hello Hello.java standard AT OEMCOMPUTER ~ $ ./hello // Nothing is printed !!!!!!!!!!!!!!!!!!!! standard AT OEMCOMPUTER ~ $ strace ./bonjour|less .... 140 164042 [main] BONJOUR 1255 dll_list::init: here 166 164208 [main] BONJOUR 1255 dll_crt0_1: user_data->main 0x401048 1015 165223 [main] BONJOUR 1255 sig_send: pid 1255, signal -2, its_me 1 1503 166726 [main] BONJOUR 1255 sig_send: ReleaseSemaphore succeeded 650 167376 [main] BONJOUR 1255 sig_send: Waiting for thiscomplete 0x80 215 167591 [sig] BONJOUR 1255 wait_sig: awake 183 167774 [sig] BONJOUR 1255 wait_sig: processing signal -2 169 167943 [sig] BONJOUR 1255 wait_sig: looping 155 168098 [main] BONJOUR 1255 sig_send: returning 0 from sending signal -2 4140 172238 [main] BONJOUR 1255 time: 968682175 = time (0) 848 173086 [main] BONJOUR 1255 _fstat: 0 = fstat (1, 253FA20) 3962 177048 [main] BONJOUR 1255 isatty: 0 = isatty (1) 2884 179932 [main] BONJOUR 1255 _write: write (1, 0x45710F0, 6) Hello 170 180102 [main] BONJOUR 1255 fhandler_base::write: after write, name {stdou t}, rpos 6 1960 182062 [main] BONJOUR 1255 _write: 6 = write (1, 0x45710F0, 6) 850 182912 [main] BONJOUR 1255 do_exit: do_exit (6) 164 183076 [main] BONJOUR 1255 void: 0x0 = signal (20, 0x1) 1232 184308 [main] BONJOUR 1255 void: 0x0 = signal (1, 0x1) 914 185222 [main] BONJOUR 1255 void: 0x0 = signal (2, 0x1) 163 185385 [main] BONJOUR 1255 void: 0x0 = signal (3, 0x1) 676 186061 [main] BONJOUR 1255 _close: close (0) .... standard AT OEMCOMPUTER ~ $ strace ./Hello|less .... 139 130104 [main] HELLO 1281 dll_list::init: here 138 130242 [main] HELLO 1281 dll_crt0_1: user_data->main 0x40111C 155 130397 [main] HELLO 1281 sig_send: pid 1281, signal -2, its_me 1 150 130547 [main] HELLO 1281 sig_send: ReleaseSemaphore succeeded 145 130692 [sig] HELLO 1281 wait_sig: awake 198 130890 [sig] HELLO 1281 wait_sig: processing signal -2 175 131065 [sig] HELLO 1281 wait_sig: looping -334 130731 [main] HELLO 1281 sig_send: Waiting for thiscomplete 0x88 616 131347 [main] HELLO 1281 sig_send: returning 0 from sending signal -2 37500 168847 [main] HELLO 1281 do_exit: do_exit (0) Hello 260 169107 [main] HELLO 1281 void: 0x0 = signal (20, 0x1) 1977 171084 [main] HELLO 1281 void: 0x0 = signal (1, 0x1) 151 171235 [main] HELLO 1281 void: 0x0 = signal (2, 0x1) 139 171374 [main] HELLO 1281 void: 0x0 = signal (3, 0x1) 668 172042 [main] HELLO 1281 _close: close (0) 938 172980 [main] HELLO 1281 fhandler_base::set_io_handle: set handle to 0xFF FFFFFF 1323 174303 [main] HELLO 1281 _close: 0 = close (0) .... Thanks a lot Christian CORMIER cormier AT u-picardie DOT fr -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com