<?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: Bytes of Code limiations in compiling in C using Codewarrior in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209093#M5859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;C++ limitation applies to all object code, generated by compiling source codes with C++ compiler (including object codes, linked from library, which were generated from&amp;nbsp;C++ source files).&amp;nbsp; C limitation applies to C files (including library files, compiled using C compiler). ASM limitation applies to asm files. Object files include information what source file your code was generated from, so linker may count sum of C code and sum of C++ code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 15:55:02 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2012-02-23T15:55:02Z</dc:date>
    <item>
      <title>Bytes of Code limiations in compiling in C using Codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209091#M5857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: Calibri; font-size: 3;"&gt;&lt;EM&gt;Hello.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: Calibri; font-size: 3;"&gt;&lt;EM&gt;I am working with a team of 3 people.&amp;nbsp; We are seniors at Devry university and decided to use the Dragon Board with the codewarrior software for a cost effective solution for the microcontroller for our senior project.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: Calibri; font-size: 3;"&gt;&lt;EM&gt;We are getting the error message above when we try to compile&amp;nbsp;&amp;nbsp; our code in C++.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; It gives an&amp;nbsp;&amp;nbsp; L4025 where it says our bytes of code is limited in C++ to 1024 bytes of&amp;nbsp;&amp;nbsp; code.&lt;SPAN&gt;&amp;nbsp; Our file is much larger than this and will grow even further.&amp;nbsp;&lt;/SPAN&gt; While we can compile in C and during the course of our education compiled many large programs in C,&amp;nbsp;&amp;nbsp; this raised a concern we thought we would head off at the pass.&amp;nbsp;…&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: Calibri; font-size: 3;"&gt;&lt;EM&gt;We have two questions.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: Calibri; font-size: 3;"&gt;&lt;EM&gt;First.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; Is there&amp;nbsp;&amp;nbsp; a limitation on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; bytes of code&amp;nbsp;&amp;nbsp; when compiling in just C as compared to C++?&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; We are concerned we will hit our&amp;nbsp;&amp;nbsp; limit.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal"&gt;&lt;SPAN style="font-family: Calibri; font-size: 3;"&gt;&lt;EM&gt;Second.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; Does the&amp;nbsp;&amp;nbsp; limitation just pertain to the actual main.c code, or the entire file, which&amp;nbsp;&amp;nbsp; includes the header files, start up code, linker files,&amp;nbsp;&amp;nbsp; etc….&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 08:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209091#M5857</guid>
      <dc:creator>jlough</dc:creator>
      <dc:date>2012-02-23T08:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bytes of Code limitations in compiling in C using Codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209092#M5858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I assume you are using CodeWarrior MCU V10.x and you have a special edition license (the one which is free of charge).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can get information about limitation of the special edition for CodeWarrior MCU V10.x at following URL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_SUITES" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_SUITES&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; There you can see that for a ColdFire V1 MCU, in special edition you have a limitation of 64Kb of C source code. For a&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ColdFire V2, V3 or V4, the size limitation is 128 Kb.&lt;/P&gt;&lt;P&gt;&amp;nbsp; For C++ the limitation is 1K of generated code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can also check the CodeWarrior for MCU Brochure for more details on supported features in each edition.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Click &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/brochure/CWMCU10.2_BR.pdf?fpsp=1&amp;amp;WT_TYPE=Brochures&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation" rel="nofollow" target="_blank"&gt;here to&lt;/A&gt; check the brochure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The limitation is around size of code generated by the compiler/linker (not source code). Code from every module&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; within the application is taken into account if it is linked to (or used by) the application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If you want unlimited C++ code you need a professional edition license,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 15:49:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209092#M5858</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-02-23T15:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bytes of Code limiations in compiling in C using Codewarrior</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209093#M5859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;C++ limitation applies to all object code, generated by compiling source codes with C++ compiler (including object codes, linked from library, which were generated from&amp;nbsp;C++ source files).&amp;nbsp; C limitation applies to C files (including library files, compiled using C compiler). ASM limitation applies to asm files. Object files include information what source file your code was generated from, so linker may count sum of C code and sum of C++ code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 15:55:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Bytes-of-Code-limiations-in-compiling-in-C-using-Codewarrior/m-p/209093#M5859</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-02-23T15:55:02Z</dc:date>
    </item>
  </channel>
</rss>

