Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver

Tom Tromey
2011-01-17T17:06:01Z

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

Yao> In order to achieve that, configure.ac and Makefile.in will be
Yao> created in common/ dir.

Is there a way we can avoid this? Each configure carries some weight:
more maintenance (especially if they must be fixed in parallel), more
size, and slower build speeds.

Historically, IIUC, gdbserver had its own because it could be configured
and built separately. But, this won't seem to be true once your patches
go in.

I see that common/Makefile.in doesn't have automatic dependency
tracking. I think it should, especially if we are planning to move more
and more code there. This would be simpler with a single configure :-)

FWIW, I'd like to get rid of testsuite/**/configure someday. And, if we
can't configure gdbserver separately, then gdbserver/configure as well.

Tom