Bug 12202

Summary: psim build failure due to -lz
Product: gdb Reporter: Andreas Färber <andreas.faerber>
Component: simAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: P2    
Version: 7.2   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description Andreas Färber 2010-11-07 22:34:01 UTC
.../gdb-7.2/configure --target=powerpc64-linux-gnu
make

and

.../gdb-7.2/configure --target=powerpc-elf
make

both fail on Mac OS X v10.5 ppc host:

make[3]: *** No rule to make target `-lz', needed by `psim'.  Stop.
make[2]: *** [all] Error 1
make[1]: *** [all-sim] Error 2
make: *** [all] Error 2

Removing the $(LIBS) dependency of the psim target in sim/ppc/Makefile remedies this.