X-Recipient: archive-cygwin@delorie.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: <BAY147-W16EAC1B43F0CFBAE0485BBD0330@phx.gbl>
From: Me Myself and I <stargate7thsymbol@live.co.uk>
To: <cygwin@cygwin.com>
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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


