Ongoing GCJ confusion

Me Myself and I stargate7thsymbol@live.co.uk
Thu Apr 5 06:14:00 GMT 2012



-As an aside, when it comes to classes in external packages in external (non-default) jar files,
 
does one usually have dynamic linking from the gcj compiled program to the 
 
seperate package jar file (needed at runtime), or static linking where 
 
the seperate jar necessary classes and related are all physically 
 
included inside the gcj compiled program?  Is there a command line
 
option with gcj for either of these?  What is it?


I am encountering the following compile error.  

Is there a one file solution to solving this, without using the cygpath command at all?

Ideas, anyone?


-----------------------------------------------------------------------------------------
$ gcj Program.java --main=Program -o Program.exe

cygwin warning:
  MS-DOS style path detected: \Program Files (x86)\Java\jre6\lib\ext\QTJava.zip;C/java/lang/Object.class
  Preferred POSIX equivalent is: /cygdrive/c/Program Files (x86)/Java/jre6/lib/ext/QTJava.zip;C/java/lang/Object.class
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find /usr/lib/libiconv.dll.a: No such file or directory
collect2: ld returned 1 exit status
-----------------------------------------------------------------------------------------
 		 	   		  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list