This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Ongoing GCJ confusion
- From: Me Myself and I <stargate7thsymbol at live dot co dot uk>
- To: <cygwin at cygwin dot com>
- Date: Thu, 5 Apr 2012 16:43:57 +1030
- Subject: Ongoing GCJ confusion
-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