I have heard that the new gcc compilers have the ability to compile java
source code into a binary.

I was told all I need to do is add the flag -x java and it will work.

For example: gcc -x java HelloWorld.java

when i tried this i get the following error:

gcc: Warning: `-x java' after last input file has no effect

Where could i find some docs to get this to work?



PS. i have also heard that there is a compiler gjc that can do the same

is that a better way to solve my problem?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to