cancel
Showing results for 
Search instead for 
Did you mean: 

IAR Ilink problem

sue
Associate III
Posted on August 10, 2010 at 02:25

IAR Ilink problem

3 REPLIES 3
swhite2
Associate III
Posted on May 17, 2011 at 14:01

I just checked my Kickstart version of EWARM 5.50.3 here at home which doesn't have the library source (the full 5.50.5 version at work does) and __iar_copy_init3 is defined in the IAR runtime libraries. My guess is that you've unticked the Linker option in the IDE to include these and hence that function is not being found.

sue
Associate III
Posted on May 17, 2011 at 14:01

Hi Stuart, thanks for your reply.

I am writing in Assembler and therefore not using any runtime libraries.

Was I correct in my assumption that I should not be getting this error?

Perhaps you could explain the ''initialize'' directive (I don' understand what I

read in the IAR Development guide) it would help?

Cheers

swhite2
Associate III
Posted on May 17, 2011 at 14:01

Some stuff in the runtime libraries, such as the low-level initialization code, is written in assembler. You should include the runtime libraries even if your main code is only in assembler. The linker will only include what it needs to resolve missing symbols.

BTW if you're writing exclusively in assembler I'd bypass the .icf file directives which are more for C coded applications and implement things yourself.