This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: personal library with gcj
- To: "Wanner Stefan" <stefan dot wanner at ntb dot ch>, <java at gcc dot gnu dot org>
- Subject: Re: personal library with gcj
- From: "Anthony Green" <green at redhat dot com>
- Date: Thu, 1 Nov 2001 13:40:37 -0800
- References: <3BE151F1.4090908@ntb.ch>
Stefan wrote:
> How can i make such a library?
It works just like building C and C++ libraries...
$ gcj -o Foo.o -O2 -c Foo.java
$ gcj -o Bar.o -O2 -c Bar.java
$ ar cru libmylib.a Foo.o Bar.o
AG