X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_GC,TW_YG X-Spam-Check-By: sourceware.org Message-ID: From: Me Myself and I To: Subject: Ongoing GCJ confusion Date: Thu, 5 Apr 2012 16:43:57 +1030 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q356EKui020727 -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