Subject: Re: Missing lib building gdb.new
To: Xavier HUMBERT <xavier@xavhome.fr.eu.org>
From: Andrew Cagney <cagney@mac.com>
List: port-macppc
Date: 01/28/2002 18:38:50
> I goit this error
> 
> /usr/tools/bin/powerpc--netbsd-gcc   -o gdb -nostdlib  /usr/lib/crt0.o
> [...]
>       -L/usr/src/gnu/usr.bin/sim/ppc -lsim -L/usr/lib  -lgcc -lc -lgcc
>       /usr/lib/crtend.o
> /usr/tools/powerpc--netbsd/bin/ld: cannot find -lsim
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src/gnu/usr.bin/gdb/gdb.new
> 
> Well, in fact there's no libsim anywhere.


The source is in gnu/dist/toolchain/sim/ppc/


> I looked at the i386 box from where I grabbed the source tree, no libsim
> either.
> 
> - Is it specific to PowerPC ?
> - How can I build this missing lib ?
> 
> Thanks for anny help,


Was it a scratch build?  Changes to configure involving new directories 
(such as this) tend to not work very well.  Check 14307.

Andrew