Sorgelig wrote:hmm.. It requires a special linker - gold. I don't want to require additional tool without a good reason.
So, i won't include such changes into repository. You can use it if it helps. I believe you can use my Makefile. It's just something wrong with your build environment.
The linker gold is provided with the gnu-arm tool chain, or isn't it ?
I did some searching, it appears that when you use the linker, it's better to put the libraries at the end of the command line.
I tried and it works without using gold.
If I replace the line
@$(LD) $(LFLAGS) -o $@ $+
@$(LD) -o $@ $+ $(LFLAGS)
it compiles even with the regular ld