This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: libjava clean-nat is broken
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>, "Giovanni Bajo" <giovannibajo at libero dot it>, java-patches at gcc dot gnu dot org
- Date: Fri, 15 Oct 2004 17:57:41 +0100
- Subject: Re: libjava clean-nat is broken
- References: <016501c4b2b5$ce77f810$18422597@bagio><16751.63822.451733.98648@cuddles.cambridge.redhat.com><m3r7o07xvs.fsf@localhost.localdomain><16751.64147.45292.26067@cuddles.cambridge.redhat.com>
Andrew Haley writes:
> Tom Tromey writes:
> > Andrew> Please describe the bug a bit more. What is clean-nat
> > Andrew> supposed to do? What does it now do?
> >
> > # Just remove the objects from C++ sources, for testing the C++ compiler.
> > clean-nat:
> > rm -f $(nat_files) $(xlib_nat_files)
> >
> > These macros aren't defined any more.
>
> Okay. I'm on it.
FYI, this is what broke it:
2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
Michael Koch <konqueror@gmx.de>
* configure.in,
Makefile.am: Ported to automake 1.9.
2004-10-15 Andrew Haley <aph@redhat.com>
* Makefile.am (nat_files, xlib_nat_files): New.
* Makefile.in: Regenerate.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.419
diff -p -2 -c -r1.419 Makefile.am
*** Makefile.am 29 Sep 2004 19:51:17 -0000 1.419
--- Makefile.am 15 Oct 2004 16:43:07 -0000
*************** libgcj_la_DEPENDENCIES = libgcj-@gcc_ver
*** 212,215 ****
--- 212,219 ----
$(LIBLTDL) $(LIBFFI) $(ZLIBS) $(GCLIBS) $(propertyo_files)
+ ## Objects from C++ sources in subdirs.
+ nat_files = $(nat_source_files:.cc=.lo)
+ xlib_nat_files = $(xlib_nat_source_files:.cc=.lo)
+
# Include THREADLIBS here to ensure that the correct version of
# certain linuxthread functions get linked:
Andrew.