This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting started with GCJ




On Fri, 9 Nov 2001, Michael J McGonagle wrote:
> So, from this, how would I be able to compile these objects into the
> same binary?

It's up to you.  You can control the object name with the "-o" argument;
it doesn't have to match the class name.

> Would this require a means of storing all the generated *.o
> files in a directory structure (similar to the package tree), and then
> linking them all together in the final stage?

This is a popular way to do it.  Did you happen to see this thread from
earlier today:

http://gcc.gnu.org/ml/java/2001-11/msg00066.html

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]