Compiling fop to native windows
Dominik Psenner
Dominik.Psenner@technoalpin.com
Wed May 4 12:53:00 GMT 2011
> -----Original Message-----
> From: Dominik Psenner [mailto:dpsenner@gmail.com]
> Sent: Wednesday, May 04, 2011 10:54 AM
> To: gcc-help@gcc.gnu.org
> Subject: RE: Compiling fop to native windows
>
> > > What I do not get is, that there's definitely the .class file for
> > > ByteArrayOutputStream in commons-io-1.3.1.jar. Can someone explain
me
> > what I
> > > am doing wrong here?
> >
> > I don't understand how this is supposed to work. You have to
compile
> > all the dependencies and link them together; all you seem to be
doing
> > is putting the dependencies in the CLASSPATH. I'd first try
compiling
> > every jar with -findirect-dispatch and then linking them all.
> >
> > Andrew.
>
> Thanks for the fast response! I'm aware that I won't be unable to link
the
> compiled stuff. For now I try to find out if gcj is able to compile
the
> fop
> classes. As long as that step fails, I do not have to bother the
> compilation
> of its libraries. :-)
Looks like I got on a bit. Now I am able to build the .o file
successfully. Unfortunately I ran into this:
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:87:0: error: cannot
find file for class sun.awt.image.codec.JPEGParam
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:87:0: error: cannot
find file for class sun.awt.image.codec.JPEGParam
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:87:0: error: cannot
find file for class sun.awt.image.codec.JPEGParam
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:87:0: error: class
'sun.awt.image.codec.JPEGParam' has no method named 'setWidth'
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:88:0: error: cannot
find file for class sun.awt.image.codec.JPEGParam
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:88:0: error: cannot
find file for class sun.awt.image.codec.JPEGParam
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:88:0: error: class
'sun.awt.image.codec.JPEGParam' has no method named 'setHeight'
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:90:0: error: cannot
find file for class com.sun.image.codec.jpeg.JPEGCodec
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:90:0: error: class
'com.sun.image.codec.jpeg.JPEGCodec' has no method named 'creat
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:91:0: error: cannot
find file for class com.sun.image.codec.jpeg.JPEGImageEncoder
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:91:0: error: class
'com.sun.image.codec.jpeg.JPEGImageEncoder' has no method named
com/sun/media/jai/tilecodec/JPEGTileEncoder.java:95: confused by earlier
errors, bailing out
make: *** [jai-core.dll.o] Error 1
Now this should be part of the JRE runtime since 1.4 and I believe to
have read somewhere that these parts were not reimplemented by gcj.
Please tell me that I'm wrong? :-P
More information about the Gcc-help
mailing list