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

Yao Qi
2011-01-17T22:59:53Z

On 01/17/2011 10:05 AM, Tom Tromey wrote:
> 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.

I am a little bit reluctant about adding configure.ac/Makefile.in as
well, :) We have to add different objects in libcommon.a varies on
different targets, and seems only configure/Makefile helps on this. I
can't figure out any alternatives to this in my mind so far.

> 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:-)

I'll fix that.

--
Yao Qi