building static libgcj

Munjal Kapadia munjal@cmu.edu
Wed Jul 16 15:29:00 GMT 2003


> On 2003年7月16日, Munjal Kapadia wrote:
>> When I try to statically build libgcj (and the rest of gcc) with the
>> --disable-shared options in the ./configure parameter set, some of the
>> binaries are not statically built (i know this by running ldd)
>> gij, grepjar, jar, jv-convert, rmic and rmiregistry are not statically
>> linked
>> Are they linked with libgcj.so?
>>> The other binaries like gcc, gcj, gcjh etc... are statically linked.
>> To be pedantic for a moment, a 'static binary' does not link to any DSO,
> not system libraries such as libc.so or any other. GCC does not produce
> these even if configured with --disable-shared. However that option
> suppresses any shared libraries that GCC would build on its own
> (libgcj.so, libgcc_s.so, libstdc++.so).
>> Is that what you need?
>> Jeff
>>>
Nope, they are linked with libc.so.6 and /lib/ld-linux.so.2
And I need static binaries as well as the static library files (which are
produced already)
Munjal


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /