This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb head fails to compile for arm-elf target.
On Mon, Feb 16, 2004 at 08:54:10PM +0100, Karel Gardas wrote:
> On Mon, 16 Feb 2004, Daniel Jacobowitz wrote:
>
> > > Do you think it's worth the test to freshly checkout whole tree again?
> > > Before build I have just rm -rf combined and updated gcc and src
> > > directories, src by: cvs -q up -Pd binutils newlib gdb dejagnu -- do you
> > > think that's the reason for failure?
> > >
> > > Thanks,
> >
> > Absolutely. You can't update just a few directories and relibly expect
> > things to work. At a minimum, you would also need: opcodes bfd gas ld
> > include libiberty.
>
> Err, I had an impression that if checkout worked correctly with modules
> and all depending modules, then update will also work this way. :-(
> (especially when I read it on the gcc page: ``Update the src tree with the
> same sequence of commands that you used to check out that tree initially,
> invoked from the src directory (NOT from within the combined tree).'')
Ah, but that's not what you did. Here's the problem: cvs checkout
takes module names and cvs update takes directory names.
If you used "cvs -d 'whatever' co binutils newlib gdb dejagnu" from the
directory containing src/, everything would be updated.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer