
19 Nov
2002
19 Nov
'02
4:39 p.m.
I believe that this is GNU-specific, but try surrounding $(LIBS) with the --start-group and --end-group switches. That has worked for me in the past when a group of interdependent libraries has needed multiple-scanning. This should allow just one instance of $(LIBS) as well.
Chuck Meade The PTR Group
Please note that the libraries are already searched twice:
... u-boot: depend subdirs $(OBJS) $(LIBS) $(LDSCRIPT) $(LD) $(LDFLAGS) $(OBJS) $(LIBS) $(LIBS) -Map u-boot.map -o u-boot
This is ugly, and I really would like to get rid of this.
...
Maybe there is a better way? We used to have ranlib for things like this, but it does not seem to help on PPC. Anybody any ideas?
Best regards,
Wolfgang Denk