This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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 static builds are failing


Marco Trudel writes:
 > Tom Tromey wrote:
 > >>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
 > > 
 > > Andrew> At the moment we determine the availability of libmagic at libgcj
 > > Andrew> build time.  This is wrong, because even if libmagic is present when
 > > Andrew> gcj is built, it isn't necessarily present when libgcj apps are built,
 > > Andrew> and vice versa.
 > > 
 > > I don't agree with this.  I think it is safe to assume that whatever
 > > we discover at configure time is true for the lifetime of the libgcj
 > > install.
 > 
 > What about deploying the compiler binaries to users (as mingw, cygwin, 
 > Mohan or I do)? Or what about cross compilations where the host will be 
 > something different?

That's a matter of making sure that when you install a cross-compiler
you also get its dependencies right.

Anyway, the plan I had won't work because there is no reliable way to
dlopen() from a statically liked binary.

-static-libgcj will still work, as usual, if I make a small change to
libgcj.spec.  That's what I'll do.

Andrew.


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