Re: Windows DLL support update (a bit slimmer version)

Daniel Jacobowitz
2007-10-12T21:53:00Z

On Fri, Oct 12, 2007 at 02:31:36PM -0700, Joel Brobecker wrote:
> It looks like this change makes it necessary to have libexpat installed
> for DLLs support to work. Am I right? I'm looking for a simple way of
> avoiding this dependency, but I can't find any at the moment :-(.

Yes it does.

> Given the growing importance that XML is taking in GDB, maybe there
> will be a day when it is worth having a copy of the expat sources in
> GDB, and always build with expat.

I was told that importing expat was unacceptable. I was also told
that requiring it be installed to build GDB was unacceptable. This
is about the best I can manage given those restrictions.

Could you explain why you want to avoid expat? It's not like you have
to use a DLL version; it should not complicate shipping GDB at all.
It just has to be in CPPFLAGS and LDFLAGS when you're building GDB.

--
Daniel Jacobowitz
CodeSourcery