Graham Moss

Location of memcpy and other standard functions

Discussion created by Graham Moss on May 26, 2009
Latest reply on Jun 5, 2009 by CrasyCat

Hi all,

Using the CodeWarrior 4.2 IDE to target a M68K part and I get a number of linker errors:

 - undefined "memset" referenced from...

 - undefined "memcpy" referenced from...

 

I thought that these were standard ANSI functions and would be included in the 'standard' library.

 

1) How do I include a library? Is it placed in the project files or is a reference to it made in the LCF?

 

2) When should I use a _Runtime library and when should I use a MSL library?

 

Comments and pointers welcome.

 

Thanks,

Graham

Outcomes