problem to compile with gcj
From: os2 (marcpirat_at_yahoo.com)
Date: 07/31/04
- Next message: efinery: "Jar file manifest"
- Previous message: Andrew Parker: "Re: Advice for OCR solution (or alternative)"
- Next in thread: Daniel Sjöblom: "Re: problem to compile with gcj"
- Reply: Daniel Sjöblom: "Re: problem to compile with gcj"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jul 2004 16:25:11 -0700
hi
i installed gcj via yast (suse 9.1)
i write a little HelloWorld
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello word");
}
}
when i try to compile i do:
collinm@linux:~> gcj --main=3DHelloWorld -o HelloWorld HelloWorld.java
i get:
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
cannot find -lz
collect2: ld returned 1 exit status
any idea?
- Next message: efinery: "Jar file manifest"
- Previous message: Andrew Parker: "Re: Advice for OCR solution (or alternative)"
- Next in thread: Daniel Sjöblom: "Re: problem to compile with gcj"
- Reply: Daniel Sjöblom: "Re: problem to compile with gcj"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|