<?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: CodeWarrior v10 Env. Variables in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-v10-Env-Variables/m-p/162457#M2787</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;When you create your project are you creating a Bareboard project or a Linux/uclinux Application project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try with V10.0 and created a bareboard project for MCF52233 and I am able to get appropriate definition for cnt1 when I write the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#ifdef __CWCC__  int count1 = 0;#else  long count1 = 6;#endif&lt;/PRE&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, 29 Oct 2020 09:08:20 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2020-10-29T09:08:20Z</dc:date>
    <item>
      <title>CodeWarrior v10 Env. Variables</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-v10-Env-Variables/m-p/162456#M2786</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;I have a project I'm working on that needs to be cross-platform.&amp;nbsp; To that end, we have a master configuration file (a .h file) that contains different #ifdefs, for example, #ifdef (WIN32), #ifdef (_LINUX), etc.&amp;nbsp; I need one for CodeWarrior (better, for the specific chipset/model I'm using).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried using __CWCC__ as mentioned in the help files but that doesn't seem to be defined anywhere.&amp;nbsp; I'm not extremely familiar with eclipse either, so I'm not quite able to figure out what environment variables are automatically defined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a good #define that I could reference to detect if I'm working in CodeWarrior?&amp;nbsp; Even better, would there be a #define for my specific chip (Coldfire v2 M52233)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 14:04:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-v10-Env-Variables/m-p/162456#M2786</guid>
      <dc:creator>Chojun</dc:creator>
      <dc:date>2010-11-11T14:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior v10 Env. Variables</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-v10-Env-Variables/m-p/162457#M2787</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;When you create your project are you creating a Bareboard project or a Linux/uclinux Application project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try with V10.0 and created a bareboard project for MCF52233 and I am able to get appropriate definition for cnt1 when I write the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;#ifdef __CWCC__  int count1 = 0;#else  long count1 = 6;#endif&lt;/PRE&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, 29 Oct 2020 09:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CodeWarrior-v10-Env-Variables/m-p/162457#M2787</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2020-10-29T09:08:20Z</dc:date>
    </item>
  </channel>
</rss>

