GCJ and dynamic linking

From: J.Neuhoff (NOSPAM_at_webcom.com)
Date: 12/24/03

  • Next message: Hare Krishna: "Barcode Image generation"
    Date: Wed, 24 Dec 2003 16:33:36 +0000
    
    

    I recently compiled a few hundred *.class files into an ELF using the GCJ
    frontend of GCC. The original total size was 416,832 bytes, the resulting
    ELF size turned out to be 3,363,017 bytes, or 2,421,924 after applying a
    strip. Either way, this is considerably larger, which makes me think that
    GCJ statically links every dependent class into the ELF, too.

    Is there a way to have GCJ only compile the original classes and then let
    the ELF dynamicaly link with other imported classes from the libgcj ?

    JNeuhoff


  • Next message: Hare Krishna: "Barcode Image generation"

    Relevant Pages

    • GCJ and dynamic linking
      ... I recently compiled a few hundred *.class files into an ELF using the GCJ ... Is there a way to have GCJ only compile the original classes and then let ...
      (comp.lang.java.help)
    • Re: lisp compiling to elf
      ... lisp compilers create elf format? ... produce an elf file then you could compile stand alone ... >>does anyone know of a lisp compiler that compiles ...
      (comp.lang.lisp)
    • ELF binaries and link-loading from Forth
      ... Compile this file to generate an ELF object file: ... int func1(int a) ...
      (comp.lang.forth)
    • Re: converting two different file fomats
      ... ..bin file pure binary? ... outputs a C source file defining an array that contains the data, ... you can compile that to an elf file with your C compiler. ...
      (comp.sys.arm)
    • Re: ELF format or a.out format
      ... when I compile C source program, ... this a.out is ELF format or a.out format? ... If you are running a recent Linux distribution, you should get ELF by ...
      (comp.os.linux.misc)