<?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>Kinetis MicrocontrollersのトピックRe: how to reduce the library file size</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179460#M1665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Could it be that the CW built lib contains debug info and the linux built one does not?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow, the&amp;nbsp;file size of a static library does not tipically matter at all, at least in the usual case when the library is only used on the host for cross compilation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jul 2012 10:44:13 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2012-07-14T10:44:13Z</dc:date>
    <item>
      <title>how to reduce the library file size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179458#M1663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using code warriors to build ARM object library. The code is getting compiled successfully and the static library (.a extension) is generated. But the size of the generated library is coming close to 900KB. When the same code is compiled using GNU tool chain on linux the library file size is coming close to 100 KB. Please let me know if there are any compiler options by using which the generated library file size can be reduced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 17:41:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179458#M1663</guid>
      <dc:creator>u2bpavankumar</dc:creator>
      <dc:date>2012-07-13T17:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to reduce the library file size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179459#M1664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the build settings for the project, check the settings for the linker input. Is the Dead-strip Unused Code option checked?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you may want to disable the generation of debug information, which can add the the file size. You would do that only after you have the code debugged, of course.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 19:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179459#M1664</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2012-07-13T19:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to reduce the library file size</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179460#M1665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Could it be that the CW built lib contains debug info and the linux built one does not?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow, the&amp;nbsp;file size of a static library does not tipically matter at all, at least in the usual case when the library is only used on the host for cross compilation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2012 10:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/how-to-reduce-the-library-file-size/m-p/179460#M1665</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2012-07-14T10:44:13Z</dc:date>
    </item>
  </channel>
</rss>

