<?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: How to do S12Z linker optimization none? in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711868#M6328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alice ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to implement unit testing for our code .For the unit testing tool to run it create stub functions of all the functions .These stub functions are not referenced in the code .It just needs to be linked in the object file created .&lt;/P&gt;&lt;P&gt;For previous version of codewarrior shown in the screenshot below there was option to keep or remove the unused sections.&lt;/P&gt;&lt;P&gt;&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/27865i46B79F9661BBD08F/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;&lt;/P&gt;&lt;P&gt;Can you please tell how to do in present s12z linker setting &amp;nbsp;.As the linker is removing the unused objects in the object file created .&lt;/P&gt;&lt;P&gt;The present linker optimisation setting is this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27892i262FA20659BFD32F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Sep 2017 07:22:21 GMT</pubDate>
    <dc:creator>pratibhasurabhi</dc:creator>
    <dc:date>2017-09-01T07:22:21Z</dc:date>
    <item>
      <title>How to do S12Z linker optimization none?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711866#M6326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using &amp;nbsp;CodeWarrior V10.7.&lt;/P&gt;&lt;P&gt;We have tried the below setting for turning off the optimization but its not working&lt;/P&gt;&lt;P&gt;Please tell me the setting for the optimization.&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/28165i850DF70818088528/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;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2017 11:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711866#M6326</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-08-30T11:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to do S12Z linker optimization none?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711867#M6327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you know it doesn't&amp;nbsp; work ? Could you show some codes or something else to&lt;/P&gt;&lt;P&gt;tell us in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 08:05:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711867#M6327</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-08-31T08:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to do S12Z linker optimization none?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711868#M6328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alice ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to implement unit testing for our code .For the unit testing tool to run it create stub functions of all the functions .These stub functions are not referenced in the code .It just needs to be linked in the object file created .&lt;/P&gt;&lt;P&gt;For previous version of codewarrior shown in the screenshot below there was option to keep or remove the unused sections.&lt;/P&gt;&lt;P&gt;&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/27865i46B79F9661BBD08F/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;&lt;/P&gt;&lt;P&gt;Can you please tell how to do in present s12z linker setting &amp;nbsp;.As the linker is removing the unused objects in the object file created .&lt;/P&gt;&lt;P&gt;The present linker optimisation setting is this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/27892i262FA20659BFD32F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 07:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711868#M6328</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-09-01T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to do S12Z linker optimization none?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711869#M6329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pratibha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can try to add the unused function to ENTRIES section in prm file :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;ENTRIES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function_name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;END&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Please refer to :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;A href="https://community.nxp.com/thread/318161"&gt;How to include unused rtshc12.c.o (ansixbi.lib) and rtsxgate.cxgate.o (ansi_xgi.lib) functions into object code?&lt;/A&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;"MCU_Build_Tools_Utilities.pdf"(under CW10.7 install folder:CW MCU v10.7\MCU\Help\PDF )&amp;nbsp; -&amp;gt; ENTRIES Block&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 02:47:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-do-S12Z-linker-optimization-none/m-p/711869#M6329</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-09-05T02:47:33Z</dc:date>
    </item>
  </channel>
</rss>

