This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Compiling Source Tree Using GCJ
- From: jishu dot sengupta at cgadc dot com
- To: gcc at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 16:34:20 -0400
- Subject: Compiling Source Tree Using GCJ
How can I compile Java source Tree with multiple dependencies on other
source trees using GCJ ?
I am trying to achieve the same behavior as Ant, available from Apache,
which produces the byte code
to a separate destination directory, and can work on multiple source trees.
So far my approach has been like following ...
gcj --classpath=$CLASSPATH @filenamelist
where filenamelist is the file, contains all Java file names with their
absolute path.
It seems not working, ideally I want to replace Sun and IBM Java compiler
with GCJ to achieve
maximum compactness, as I have found possible in cases where almost 2KB of
file size reduction
is possible.
Please help if I need to tweak anything to make it to work.
But Finally I still want to use Ant for other management tasks, only for
compilation need GCJ, is it Possible ?
Thanks in advance.
Jishu Sengupta
917-320-3928