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


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


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