Re: [Java-gnome-developer] Compile natively and static in windows
Brought to you by:
afcowie
From: llanero <ll...@gm...> - 2005-05-22 19:23:46
|
Hi, How should I tell where I have the gtkjar2.6 library? I always get the same error: gcj -static --classpath=3D/local/share/java/gtk2.6.jar --main=3DSimple Simple.java -I. -L/local/lib -lgtk jar2.6 -o simple c:\minGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lgtkjar2.6 collect2: ld returned 1 exit status Even when I don't use the -static parameter. Any hint? Thanks in advance. 2005/5/19, Olivier Evalet <ev...@pr...>: > Try this: > gcj -static --classpath=3Dgtk2.6.jar --main=3DSimple Simple.java -I. -L/u= sr/lib -lgtkjar2.6 -o simple --=20 Manel Clos ll...@gm... http://www.webpersonal.net/llanero/ |