This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [rfa/rfc] Build libcommon.a for gdb and gdbserver


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> AFAIK, there are three problems,

Yao> Am I missing any problems else?

I think the rule to build common/Makefile in gdb/Makefile.in is wrong.
It says:

common/Makefile: configure-common common/Makefile.in config.status @frags@
        CONFIG_FILES="common/Makefile" \
          CONFIG_COMMANDS="depfiles" \
          CONFIG_HEADERS= \
          CONFIG_LINKS= \
          $(SHELL) config.status


But since we are running a separate configure script in common/, it is
incorrect to run this directory's config.status to try to make it.

Usually one doesn't bother with this stuff -- just recurse and let the
subdir Makefile rebuild itself as needed.

Tom


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