This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcj exception compiling


>
> In a posting earlier I have written, that the class does not have any main
> method, so the
> information to setup the --main flag does not help. In my project there are
> only
> abstract classes, interface classes and classes without main methods, so I
> would like
> to compile the sources to *.class files
>
> Phil
>
>

RTFM.
http://linux.die.net/man/1/gcj

Pass the "-C" flag to the compiler to tell it to generate .class files
instead of an executable.

Jon

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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