Re: [RFC] Add expat to the GDB sources

DJ Delorie
2006-07-24T22:18:17Z

> AFAIK, the master for libbfd and libopcodes is in 'src'. I think DJ
> keeps libiberty in sync so that if you make a change to 'src' it also
> shows up in 'gcc' and vice versa.

FYI if you put it in src only, it vanishes. It's strictly gcc->src.

> It sounds like you're advocating that every project which relies on
> external libraries should include the source code for those libraries.

As another point of view, what one of the other projects I'm on does
is (1) not include the libraries in the cvs tree, but (2) include a
copy of the latest official sources in the CD-ROMs we distribute. The
installer knows you need them, but uses the installed ones if they're
available. If not, a project-private copy is installed and used
instead. Or, you can use the cd-rom copy to install a shared copy on
your system.

It's a balancing act between "don't screw the user by making it hard
to install" and "don't screw the user by installing bad copies of
common software".