[Top][All Lists]

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

Re: PATCH: PR libjava/32098: New libtool doesn't support libjava

From: H. J. Lu
Subject: Re: PATCH: PR libjava/32098: New libtool doesn't support libjava
Date: Wed, 30 May 2007 07:47:20 -0700
User-agent: Mutt/

On Wed, May 30, 2007 at 04:17:28PM +0200, Paolo Bonzini wrote:
> H. J. Lu wrote:
> >On Wed, May 30, 2007 at 08:09:25AM +0200, Paolo Bonzini wrote:
> >>>Gcj isn't available for compile-and-link test when building libjava.
> >>I found a solution, which is to add a ltgcc.m4 file to the toplevel, 
> >>where we can override macros as we wish.  For example, you can put a 
> >>copy of the Java configuration macro there with your hack.  I will 
> >>approve such a patch.
> >
> >I have no idea how to set it up.
> Please stop this "I have no idea" attitude, let's try to be constructive.

I have been very patient up to now. Why can't you try your own idea?

> To test it, you just create ltgcc.m4 in toplevel (both gcc and src), and 
> rerun aclocal in libjava.  Then we'll have to rerun aclocal manually in 
> all directories, but let's first make a working patch.

I tried m4_rename and m4_pushdef in libjava like

---  2007-05-28 20:04:33.000000000 -0700
+++        2007-05-30 06:56:44.000000000 -0700
@@ -431,6 +431,9 @@ dnl gjdoc?
 dnl gtk-cairo -- just export here...
 dnl --enable-regen-headers?
+m4_rename([_LT_LANG_GCJ_CONFIG], [_LT_LANG_GCJ_CONFIG_renamed])
 # Only use libltdl for non-newlib builds.
 if test "x${with_newlib}" = "x" || test "x${with_newlib}" = "xno"; then

aclocal won't include ltgcc.m4. When I include it in,
it still doesn't work. The order of ltgcc.m4 and libtool.m4 may be

Sorry, I have too many other gcc things to deal with at the moment. I
don't think I can spend more time on this.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]