This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/16776] dependencies problem when converting jar to shared library


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]