Re: Problem linking java program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Julian,

On Thu, 2005-11-10 at 14:19 +0100, Julien Claassen wrote:
> In Nov 10 A.D. 2005 Michael Koch scripsit:
> > use this:
> >
> > gcj --main=Test Test.java -o test
>   Will
> gcj --main=Test -c Test.java
>   Then generate code, that can be interpreted with gij?

No, not directly If you want to produce byte code then use the -C
option. See http://gcc.gnu.org/onlinedocs/gcj/Code-Generation.html

You can get gij to use the generated precompiled object code if you turn
it into a shared library and register it with the system wide gcj/gij
class database.
See http://gcc.gnu.org/onlinedocs/gcj/Invoking-gcj_002ddbtool.html

Cheers,

Mark
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux