Re: [Java-gnome-developer] Compile natively and static in windows
Brought to you by:
afcowie
From: Lamex <la...@sa...> - 2005-05-22 19:33:37
|
Heya answer: -lgtkjava atleast that worked for me Greets, Thijs Leibbrand llanero wrote: >Hi, > >How should I tell where I have the gtkjar2.6 library? I always get the >same error: > >gcj -static --classpath=/local/share/java/gtk2.6.jar --main=Simple >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=gtk2.6.jar --main=Simple Simple.java -I. -L/usr/lib -lgtkjar2.6 -o simple >> >> > > > |