<?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: Moving to command-line compiler in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Moving-to-command-line-compiler/m-p/208205#M8055</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;Here I would suggest you to generate the preprocessor listing for the source file you are building and check it.&lt;/P&gt;&lt;P&gt;I suspect&amp;nbsp;the issue arises a couple of lines earlier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use option -Lp to generate the pre-processor listing.&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>Tue, 22 Jun 2010 16:44:19 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2010-06-22T16:44:19Z</dc:date>
    <item>
      <title>Moving to command-line compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Moving-to-command-line-compiler/m-p/208204#M8054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The project (so far) is working well in the IDE, but we have a corporate requirement that the project be able to compile from a batch-file.&amp;nbsp; So, I have to get the command-line compiler to compile the project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a Zigbee project, so we are including the Freescale Zigbee files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My approach is to create a file-list from the project's XML file, then feed all these files into the command-line compiler with the -M option to create a makefile.&amp;nbsp; I can then modify the makefile as needed to get the thing to compile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently having a problem with a pragma statement.&amp;nbsp; The macphy.h file gives this error:&lt;/P&gt;&lt;PRE&gt;#pragma MESSAGE DISABLE C1420&lt;/PRE&gt;&lt;PRE&gt;Error:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^^^^^
#&amp;nbsp;&amp;nbsp; end of line expected&lt;/PRE&gt;&lt;P&gt;This error is repeated on several other files.&amp;nbsp; Anyone have any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jun 2010 21:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Moving-to-command-line-compiler/m-p/208204#M8054</guid>
      <dc:creator>MattReed</dc:creator>
      <dc:date>2010-06-21T21:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving to command-line compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Moving-to-command-line-compiler/m-p/208205#M8055</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;Here I would suggest you to generate the preprocessor listing for the source file you are building and check it.&lt;/P&gt;&lt;P&gt;I suspect&amp;nbsp;the issue arises a couple of lines earlier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use option -Lp to generate the pre-processor listing.&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>Tue, 22 Jun 2010 16:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Moving-to-command-line-compiler/m-p/208205#M8055</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-06-22T16:44:19Z</dc:date>
    </item>
  </channel>
</rss>

