On 12/20/2007 05:28 PM, Jeremy Kerr wrote: > Geoff, > >> Pugatory files need to be linked with the target linker, >> not the build linker. >> >> $(MKDIR) -p $(@D) >> - $(LD) $(LDFLAGS) -o $@ $^ >> + $(CC) $(LDFLAGS) -o $@ $^ > > Shouldn't that be $(TARGET_CC) then? It follows the convention in that makefile. There is this: $(PURGATORY): CC=$(TARGET_CC) -Geoff