<?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>S32 Design Studioのトピックfp support of newlib based projects?</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689471#M1530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have added some dummy floating point code to an example S32DS project.&lt;/P&gt;&lt;P&gt;I have chosen MPC5748G and newlib in the project wizard for core Z4_0.&lt;/P&gt;&lt;P&gt;This is what it tells me while building:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21749iB4B8EE886333523B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do I have to include libm.a manually in the linker script? Where and how exactly?&lt;/P&gt;&lt;P&gt;One of the other cores I configured differently using EWL behaves as expected and obviously knows automatically where to take sqrtf() from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need the workspace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2017 12:32:01 GMT</pubDate>
    <dc:creator>mbu2015</dc:creator>
    <dc:date>2017-05-23T12:32:01Z</dc:date>
    <item>
      <title>fp support of newlib based projects?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689471#M1530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have added some dummy floating point code to an example S32DS project.&lt;/P&gt;&lt;P&gt;I have chosen MPC5748G and newlib in the project wizard for core Z4_0.&lt;/P&gt;&lt;P&gt;This is what it tells me while building:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21749iB4B8EE886333523B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do I have to include libm.a manually in the linker script? Where and how exactly?&lt;/P&gt;&lt;P&gt;One of the other cores I configured differently using EWL behaves as expected and obviously knows automatically where to take sqrtf() from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you need the workspace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 12:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689471#M1530</guid>
      <dc:creator>mbu2015</dc:creator>
      <dc:date>2017-05-23T12:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: fp support of newlib based projects?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689472#M1531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the newlib project I'd suggest to add libm.a manually since it's not the default Newlib setup.&lt;/P&gt;&lt;P&gt;All you need to add "&lt;STRONG&gt;m&lt;/STRONG&gt;" it into Standard S32DS C Linker settings -&amp;gt; Libraries. It appears as -lm &amp;nbsp;gcc switch and linker interprets it as "libm.a".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22403i8A2DFF227FF83814/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EWL know it automatically since it has been created by NXP whereas newlib is GNU project and we use it as is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689472#M1531</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2017-05-23T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: fp support of newlib based projects?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689473#M1532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Stan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's always amazing to see what a single letter at the right location can &lt;/P&gt;&lt;P&gt;do... :smileywink:&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mit freundlichem Gruss&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Matthias Busch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Embedded Solutions 2.4 (TD-S24)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IAV GmbH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Visitors:&lt;/P&gt;&lt;P&gt;Kauffahrtei 25&lt;/P&gt;&lt;P&gt;09120 CHEMNITZ&lt;/P&gt;&lt;P&gt;GERMANY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Postal:&lt;/P&gt;&lt;P&gt;Auer Straße 54&lt;/P&gt;&lt;P&gt;09366 STOLLBERG&lt;/P&gt;&lt;P&gt;GERMANY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phone: +49 371 23 7 - 3 46 69&lt;/P&gt;&lt;P&gt;Fax:       +49 371 23 7 - 3 41 12&lt;/P&gt;&lt;P&gt;E-Mail: &amp;lt;mailto:matthias.busch@iav.de&amp;gt;&lt;/P&gt;&lt;P&gt;Internet: &lt;A href="http://www.iav.de" target="test_blank"&gt;http://www.iav.de&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sitz/Registered Office: Berlin, &lt;/P&gt;&lt;P&gt;Registergericht/Registration Court: Amtsgericht Charlottenburg, &lt;/P&gt;&lt;P&gt;Registernummer/Company Registration Number: HRB 21 280, &lt;/P&gt;&lt;P&gt;Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael Schubert, &lt;/P&gt;&lt;P&gt;Kai-Stefan Linnenkohl&lt;/P&gt;&lt;P&gt;Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Prof. &lt;/P&gt;&lt;P&gt;Dr. Harald Ludanek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Von:    stanish &amp;lt;admin@community.nxp.com&amp;gt;&lt;/P&gt;&lt;P&gt;An:     Matthias Busch &amp;lt;matthias.busch@iav.de&amp;gt;, &lt;/P&gt;&lt;P&gt;Datum:  23.05.2017 16:39&lt;/P&gt;&lt;P&gt;Betreff:         Re:  - Re: fp support of &lt;/P&gt;&lt;P&gt;newlib based projects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: fp support of newlib based projects? &lt;/P&gt;&lt;P&gt;reply from Stanislav Sliva in S32 Design Studio - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Matthias,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;for the newlib project I'd suggest to add libm.a manually since it's not &lt;/P&gt;&lt;P&gt;the default Newlib setup.&lt;/P&gt;&lt;P&gt;All you need to add "m" it into Standard S32DS C Linker settings -&amp;gt; &lt;/P&gt;&lt;P&gt;Libraries. It appears as -lm  gcc switch and linker interprets it as &lt;/P&gt;&lt;P&gt;"libm.a".&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/servlet/JiveServlet/downloadImage/2-907937-185314/pastedImage_3.png" target="test_blank"&gt;https://community.nxp.com/servlet/JiveServlet/downloadImage/2-907937-185314/pastedImage_3.png&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EWL know it automatically since it has been created by NXP whereas newlib &lt;/P&gt;&lt;P&gt;is GNU project and we use it as is.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on &lt;/P&gt;&lt;P&gt;NXP Community &lt;/P&gt;&lt;P&gt;Start a new discussion in S32 Design Studio by email or at NXP Community &lt;/P&gt;&lt;P&gt;Following Re: fp support of newlib based projects? in these streams: Inbox &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This email was sent by NXP Community because you are a registered user.&lt;/P&gt;&lt;P&gt;You may unsubscribe instantly from NXP Community, or adjust email &lt;/P&gt;&lt;P&gt;frequency in your email preferences&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 06:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/fp-support-of-newlib-based-projects/m-p/689473#M1532</guid>
      <dc:creator>mbu2015</dc:creator>
      <dc:date>2017-05-24T06:09:32Z</dc:date>
    </item>
  </channel>
</rss>

