What is "m" library

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have a Creator 4.0 project written from PRoC. Now I need to change it to use the Keil MDK compiler. I found that in the old project, in the Linker option it included a "m" library in the "additional library" field. What is that and do I also need to include it in the MDK tool chain?

   

 

   

Thank you.

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

It is mlib, the math library. The trailing "lib" and the extension are omitted when using GCC.

   

 

   

Bob

View solution in original post

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

It is mlib, the math library. The trailing "lib" and the extension are omitted when using GCC.

   

 

   

Bob

0 Likes