From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17667 invoked by alias); 27 Jul 2004 02:36:21 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 17643 invoked by uid 48); 27 Jul 2004 02:36:20 -0000 Date: Tue, 27 Jul 2004 02:36:00 -0000 Message-ID: <20040727023620.17640.qmail@sourceware.org> From: "mwteng at hotmail dot com" To: java-prs@gcc.gnu.org In-Reply-To: <20040727021858.16776.mwteng@hotmail.com> References: <20040727021858.16776.mwteng@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/16776] dependencies problem when converting jar to shared library X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00116.txt.bz2 List-Id: ------- Additional Comments From mwteng at hotmail dot com 2004-07-27 02:36 ------- (In reply to comment #1) > As said before you cannot compile with the Sun's runtime in the CLASSPATH as GCJ depends on some > parts of the java.lang.Object and such. > Just file a bug without including rt.jar in the CLASSPATH. Following is compiling detail without including rt.jar in the CLASSPATH Reading specs from /opt/gcc-3.4.1/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/specs Reading specs from /opt/gcc-3.4.1/bin/../lib/gcc/i686-pc-linux- gnu/3.4.1/../../../libgcj.spec rename spec lib to liborig Configured with: ./configure --prefix=/opt Thread model: posix gcc version 3.4.1 /opt/gcc-3.4.1/bin/../libexec/gcc/i686-pc-linux-gnu/3.4.1/jc1 jh.jar -fhash- synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call- exceptions -fkeep-inline-functions -quiet -dumpbase jh.jar -mtune=pentiumpro - auxbase jh -g1 -version -fPIC -fclasspath=:.:jh.jar -o /tmp/ccG3fbAS.s GNU Java version 3.4.1 (i686-pc-linux-gnu) compiled by GNU C version 3.2.2 20030222 (Red Hat Linux 3.2.2-5). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31906 Class path starts here: ./ ./ jh.jar/ (zip) /opt/gcc-3.4.1/bin/../lib/gcc/../../share/java/libgcj-3.4.1.jar/ (system) (zip) com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class javax.swing.text.html.HTMLEditorKit com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class javax.swing.text.html.HTMLEditorKit$HTMLFactory com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class javax.swing.text.html.HTMLDocument com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class javax.swing.text.html.HTMLDocument$HTMLReader com/sun/java/help/impl/CustomKit.java:0: error: cannot find file for class javax.swing.text.html.HTMLDocument$HTMLReader$SpecialAction com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class javax.swing.text.html.HTMLDocument$HTMLReader$SpecialAction com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class javax.swing.text.html.HTMLDocument$HTMLReader com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class javax.swing.text.html.HTMLDocument com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class javax.swing.text.html.HTMLEditorKit$HTMLFactory com/sun/java/help/impl/CustomKit.class:0: error: cannot find file for class javax.swing.text.html.HTMLEditorKit com/sun/java/help/impl/CustomKit.java: In class `com.sun.java.help.impl.CustomKit': com/sun/java/help/impl/CustomKit.java: In constructor `()': com/sun/java/help/impl/CustomKit.java:48: error: cannot find file for class javax.swing.text.html.HTMLEditorKit com/sun/java/help/impl/Custom -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16776