
Wolfgang Denk wrote:
In message 6.0.1.1.0.20040811192002.040c1a80@192.168.2.1 you wrote:
I use as an example the two files cpu/arm920t/interrupts.c and cpu/arm920t/ep93xx/interrupts.c. In this case make produces the following error (both with "ar cqv" and "ar crv"):
Don't try to put different object files with the same file name into the same archive file, then. Use per-directory archives, for example.
Hmm. But it seems that I can't add one archive to another archive as I describe in an earlier mail, i.e.
ar crv limbimx.a foo.o bar.o ar crv libarm920t.a foo1.o bar1.o imx/libimx.a
And I don't want to add an entry for every posible SoC to the main makefile... ? I have to admit that I don't know much about "ar". Maybe you could share some of your wisdom... ;-)