I compiled an application with avr-gcc. Next, I archived it into a library, using avr-ar and output libmylib.a . Now I'd like to link that library to another application which will be compiled using IAR Workbench.
From the manual, I couldn't figure out how to do this. Under the XLink section, it says use
to load a program as library. I put this in the Linker options .. Doing so will output "identifier xyy is undefined" when compiling.
How would you work around this?
Even if avr-ar output libraries were incompatible with IAR Workbench, I can still make a xar mylib.r90 *.o on the avr-gcc compiler output object files...