public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/1357: no result execution with W98 and last Cygwin tools
@ 2003-05-14 10:44 giovannibajo
0 siblings, 0 replies; 2+ messages in thread
From: giovannibajo @ 2003-05-14 10:44 UTC (permalink / raw)
To: apbianco, cormier, gcc-bugs, gcc-prs, java-prs
Synopsis: no result execution with W98 and last Cygwin tools
State-Changed-From-To: open->closed
State-Changed-By: bajo
State-Changed-When: Wed May 14 10:44:25 2003
State-Changed-Why:
Fixed. See http://gcc.gnu.org/ml/gcc-bugs/2003-05/msg01146.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1357
^ permalink raw reply [flat|nested] 2+ messages in thread
* java/1357: no result execution with W98 and last Cygwin tools
@ 2000-12-20 12:25 cormier
0 siblings, 0 replies; 2+ messages in thread
From: cormier @ 2000-12-20 12:25 UTC (permalink / raw)
To: java-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2842 bytes --]
>Number: 1357
>Category: java
>Synopsis: no result execution with W98 and last Cygwin tools
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:19:17 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: cormier@u-picardie.fr
>Release: unknown-1.0
>Organization:
>Environment:
W98, cygwin and gcj
>Description:
I just download the last version of cygwin with W98 on a new computer. What a nice set of tools!! Everything seems to work fine.
I attempt to use gcj. My last try is made with:
libgcj-2.95.1-win32-0.3.tar.bz2, libgcj.spec and Helloworld.java (Test.java) downloaded from http://www.cs.bris.ac.uk/~jb7216/libgcj/
Install and compile :
bunzip2 -c libgcj-2.95.1-win32-0.3.tar.bz2 | tar xfv -
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib
export CLASSPATH=/usr/local/share/libgcj.zip
libgcj file :
#
# This spec file is read by gcj when linking.
# It is used to specify the standard libraries we need in order
# to link with libgcj.
#
*lib: -lgcj -lm -lzgcj -lgcgcj -lmingw32 -lgccgcj -lcrtdll -lwsock32 -luser32 -lkernel32
*libgcc: %{}
*jc1:
#
# libgcc should really be a shared library. This is a design flaw
# that causes no end of mysterious problems. If we are using the
# GNU linker, force parts of libgcc into the program file rather
# than picking bits up from various shared libraries.
#
%rename startfile startfileorig
*startfile: %(startfileorig) -u data_start -lgcjdata -u __rethrow -lgcc
$ cat Test.java
public class Test {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
gcj -mno-cygwin --main=Test -o Test Test.java
All seems to be OK .
When execute, the result:
Windows Box : Abnormal termination program ...
TEST a cause une defaillance de page dans (page default ...)
le module CYGWIN1.DLL Ã 0167:610011a3.
Registres :
EAX=00000000 CS=0167 EIP=610011a3 EFLGS=00010202
EBX=00000004 SS=016f ESP=0287fdd0 EBP=0287fdd8
ECX=00000001 DS=016f ESI=00000000 FS=4cb7
EDX=00000000 ES=016f EDI=00000000 GS=0000
Octets à CS : EIP :
8b 13 85 d2 75 f7 83 eb 04 39 f3 76 0b 8b 03 83
Etat de la pile : (stack)
00850560 8175a250 0287fdf8 61002924 00000000 00000000 7fc0100c 0040101f 00470000 00470004 0287fe08 00401347 8175a250 00850060 0287fe28 004011e1
The program is very big, isnt'it?
ls -l
otal 3771
rwxr-xr-x 1 standard unknown 3839385 Aug 23 17:19 Test.exe
rw-r--r-- 1 standard unknown 210 Aug 23 17:18 Test.java
Without -mno-cygwin option, nothing is printed after execute.
Somebody can help me?
Thanks a lot
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/330
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-14 10:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14 10:44 java/1357: no result execution with W98 and last Cygwin tools giovannibajo
-- strict thread matches above, loose matches on Subject: below --
2000-12-20 12:25 cormier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).