delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/05/02:14:27

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: <BAY147-W16EAC1B43F0CFBAE0485BBD0330@phx.gbl>
From: Me Myself and I <stargate7thsymbol AT live DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Ongoing GCJ confusion
Date: Thu, 5 Apr 2012 16:43:57 +1030
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019