Hello,
my question is: if I try to run `gcj' without `-C' option then I get the
error from ld:
$cat HelloWorldApp.java
/**
* The HelloWorldApp class implements an application that
* simply displays "Hello World!" to the standard output.
*/
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); //Display the string.
}
}
$ gcj HelloWorldApp.java
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
cannot find -liconv
collect2: ld returned 1 exit status
What does this mean? How to avoid the problem?
Note: `$gcj -C HelloWoldApp.java' is Ok and generates HelloWorldApp.class.
Attached please find the output of `cygcheck -c'.
Thank you.
Alexey Lyubimov
Cygwin Package Information
Package Version Status
_update-info-dir 00227-1 OK
ash 20040127-1 OK
autoconf 2.59-1 OK
autoconf-devel 2.59-1 OK
autoconf-stable 2.13-5 OK
automake 1.7.9-1 OK
automake-devel 1.7.9-1 OK
automake-stable 1.4p6-2 OK
base-files 2.6-1 OK
base-passwd 1.1-1 OK
bash 2.05b-16 OK
binutils 20040312-1 OK
bison 20030307-1 OK
bzip2 1.0.2-5 OK
crypt 1.1-1 OK
cvs 1.11.6-3 OK
cygipc 2.03-2 OK
cygwin 1.5.9-1 OK
diffutils 2.8.4-1 OK
editrights 1.01-1 OK
expat 1.95.7-1 OK
file 4.06-1 OK
fileutils 4.1-2 OK
findutils 4.1.7-4 OK
flex 2.5.4a-3 OK
gawk 3.1.3-4 OK
gcc 3.3.1-3 OK
gcc-g++ 3.3.1-3 OK
gcc-java 3.3.1-3 OK
gcc-mingw-core 20031020-1 OK
gcc-mingw-g++ 20031020-1 OK
gcc-mingw-java 20031020-1 OK
gdb 20030919-1 OK
gdbm 1.8.3-7 OK
gettext 0.12.1-3 OK
grep 2.5-1 OK
groff 1.18.1-2 OK
gzip 1.3.5-1 OK
less 381-1 OK
libbz2_1 1.0.2-5 OK
libdb3.1 3.1.17-2 OK
libdb4.1 4.1.25-1 OK
libgdbm 1.8.0-5 OK
libgdbm-devel 1.8.3-7 OK
libgdbm3 1.8.3-3 OK
libgdbm4 1.8.3-7 OK
libgettextpo0 0.12.1-3 OK
libiconv2 1.9.1-3 OK
libintl1 0.10.40-1 OK
libintl2 0.12.1-3 OK
libltdl3 1.5-3 OK
libncurses5 5.2-1 OK
libncurses6 5.2-8 OK
libncurses7 5.3-4 OK
libpcre 4.1-1 OK
libpcre0 4.5-1 OK
libpopt0 1.6.4-4 OK
libreadline4 4.1-2 OK
libreadline5 4.3-5 OK
libtool 1.5b-1 OK
libtool-devel 1.5-3 OK
libtool-stable 1.4.3-2 OK
login 1.9-7 OK
m4 1.4-1 OK
make 3.80-1 OK
man 1.5k-3 OK
mingw-runtime 3.2-1 OK
mktemp 1.5-3 OK
ncurses 5.3-4 OK
openssl 0.9.7c-1 OK
patch 2.5.8-8 OK
pcre 4.5-1 OK
pcre-doc 4.5-1 OK
perl 5.8.2-1 OK
pkgconfig 0.15.0-4 OK
popt 1.6.4-4 OK
postgresql 7.4.1-3 OK
python 2.3.3-1 OK
readline 4.3-5 OK
rxvt 2.7.10-4 OK
sed 4.0.8-1 OK
sh-utils 2.0.15-4 OK
tar 1.13.25-5 OK
tcltk 20030901-1 OK
termcap 20021106-2 OK
terminfo 5.3_20030726-1 OK
texinfo 4.2-4 OK
textutils 2.0.21-1 OK
time 1.7-1 OK
unzip 5.50-5 OK
vim 6.2.098-1 OK
w32api 2.5-1 OK
which 1.5-2 OK
zlib 1.2.1-1 OK
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/