<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 【help】about math functions in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167123#M5886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks very much. It seems that I have solved this problem.&lt;/P&gt;&lt;P&gt;I add the file&amp;nbsp;C_4i_CF_MSL.a to my project. then i can use the math functions.&lt;/P&gt;&lt;P&gt;I also chek file Vx.x\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Include\ansi_prefix.CF.size.h&lt;BR /&gt;the content in it is totally different from the one you showed. so I didn't&amp;nbsp;modify it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would you please tell me the opration of file&amp;nbsp;&amp;nbsp;C_4i_CF_MSL.a&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2009 09:57:21 GMT</pubDate>
    <dc:creator>water0528</dc:creator>
    <dc:date>2009-03-30T09:57:21Z</dc:date>
    <item>
      <title>【help】about math functions</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167121#M5884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone. I'm using mfc 5282 .When I use&amp;nbsp;a math function like 'abs' or 'sqrt',there comes a link error.&lt;/P&gt;&lt;P&gt;my main.c file begins as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include "src/init/m5282evb.h"&lt;BR /&gt;#include "src/init/mcf5282.h"//wsyy&lt;BR /&gt;#include &amp;lt;math.h&amp;gt;&lt;BR /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;/P&gt;&lt;P&gt;the link error is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link Error : Undefined : "sqrt"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ask for your help. thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 14:21:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167121#M5884</guid>
      <dc:creator>water0528</dc:creator>
      <dc:date>2009-03-26T14:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: 【help】about math functions</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167122#M5885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;- Create a stationary project with the CodeWarrior new project wizard&lt;BR /&gt;- Replace the file C_4i_CF_SZ_MSL.a by C_4i_CF_MSL.a&lt;BR /&gt;- Modify the file CodeWarrior for ColdFire Vx.x\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Include\ansi_prefix.CF.size.h&lt;BR /&gt;as follows:&lt;BR /&gt;Code:&lt;BR /&gt;#define _MSL_FLOATING_POINT 1&lt;BR /&gt;//#define _MSL_NO_MATH_LIB 0&lt;BR /&gt;#undef _MSL_NO_MATH_LIB&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;#define _MSL_FLOATING_POINT_IO 1&lt;BR /&gt;&lt;BR /&gt;- Add this macro to prefix text on your project settings -&amp;gt; C/C++ Preprocessor panel:&lt;BR /&gt;#define _CF_USE_FULL_LIBS_ 1&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 14:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167122#M5885</guid>
      <dc:creator>doom</dc:creator>
      <dc:date>2009-03-27T14:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: 【help】about math functions</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167123#M5886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks very much. It seems that I have solved this problem.&lt;/P&gt;&lt;P&gt;I add the file&amp;nbsp;C_4i_CF_MSL.a to my project. then i can use the math functions.&lt;/P&gt;&lt;P&gt;I also chek file Vx.x\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Include\ansi_prefix.CF.size.h&lt;BR /&gt;the content in it is totally different from the one you showed. so I didn't&amp;nbsp;modify it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;would you please tell me the opration of file&amp;nbsp;&amp;nbsp;C_4i_CF_MSL.a&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2009 09:57:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/help-about-math-functions/m-p/167123#M5886</guid>
      <dc:creator>water0528</dc:creator>
      <dc:date>2009-03-30T09:57:21Z</dc:date>
    </item>
  </channel>
</rss>

