This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, Pedro Alves <pedro at codesourcery dot com>, gdb-patches at sourceware dot org
- Date: Wed, 02 Mar 2011 07:37:35 -0700
- Subject: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver
- References: <m3wrlgdcxc.fsf@fleche.redhat.com> <4D550834.6080807@codesourcery.com> <m3sjvul875.fsf@fleche.redhat.com> <4D55FAB4.7090001@codesourcery.com> <m3pqquhcis.fsf@fleche.redhat.com> <m3r5bafqhl.fsf@fleche.redhat.com> <4D648A5F.8050607@codesourcery.com> <m3oc62k8wy.fsf@fleche.redhat.com> <4D65D5B7.1000902@codesourcery.com> <m3tyfo82a8.fsf@fleche.redhat.com> <20110301044144.GH30306@adacore.com> <4D6C882B.7010801@codesourcery.com> <m38vwy7vrr.fsf@fleche.redhat.com> <4D6DCA56.4030008@codesourcery.com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> gdb/
Yao> * Makefile.in (configure-common): Remove. Let Makefile
Yao> in dir common to rebuild itself.
Yao> (common/Makefile): Likewise.
This part looks ok.
But the code still has:
Yao> $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
Yao> @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
Now there isn't a rule to build $(LIBCOMMON_DIR)/Makefile.
I suspect the $(LIBCOMMON) target isn't needed, but removing it may
require some other changes.
Tom