This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Compiling SWT with gcj/linux
- From: Jörg Maisenbacher <joerg at maisenbachers dot de>
- To: java at gcc dot gnu dot org
- Date: Wed, 15 Oct 2003 16:46:49 +0200
- Subject: Re: Compiling SWT with gcj/linux
- References: <3F8D5649.2040903@uks.co.za>
Gerard Naude wrote:
Now when i try to compile swt.jar (gcj -fjni -shared -o swt.so swt.jar)
i get these errors:
org/eclipse/swt/graphics/Color.java: In class
`org.eclipse.swt.graphics.Color':
(...)
bailing out
try to add swt-pi.jar to your classpath when compiling:
export CLASSPATH=swt-pi.jar:swt.jar
gcj -fjni -shared -o swt.so swt.jar
gcj -fjni -shared -o swt-pi.so swt-pi.jar
should do it (at least it does for me)
joerg
--
Jörg Maisenbacher
"There are only 10 types of people in the world:
Those who understand binary and those who don't."