Grant Edwards <[email protected]> wrote:

On 2009-02-11, Przemek Klosowski <[email protected]> wrote:

I don't know IAR but I suspect that .r43 are the IAR-generated binary object
files for MSP430. If that's the case, you are asking how to link them into a
GCC project. This depends on the compatibility of the calling convention
used by those two compilers---how they pass parameters, which registers they
preserve/clobber across procedure calls, etc.

In addition to calling convention issues, there are object file
format compatibility issues that will need to be resolved.

Both are rather tricky problems.

Yes, it would be a lot of work.

Can you buy the library source? Then re-compile and re-assemble
it with the mspgcc toolchain? That would avoid both problems.

There will probably be IAR-specific extensions that are used
by the library code though, you'd have to convert them to work
with mspgcc, which might also be a lot of work...
--
Kris Heidenstrom       Embedded systems designer / programmer
[email protected]       Abbey Systems Ltd - Telemetry Specialists
Wellington NEW ZEALAND  Voice +64-4-385-6611  Fax +64-4-385-6848

Reply via email to