<?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 HCS08 compiler options in a file in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180591#M6116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to invoke the compiler in batch mode passing all the options from a single text file, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chc08.exe -options_file ComOpt.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I searched the documentation and the forum but I couldn't find a way to do this. Is it possible as far as you know ?&lt;/P&gt;&lt;P&gt;I cannot pass all the options directly on the command line because in some projects we have a large number of included paths and this leads to exceeding the limit of characters for a windows command line.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 19:34:42 GMT</pubDate>
    <dc:creator>italiandoh</dc:creator>
    <dc:date>2011-02-01T19:34:42Z</dc:date>
    <item>
      <title>HCS08 compiler options in a file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180591#M6116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to invoke the compiler in batch mode passing all the options from a single text file, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chc08.exe -options_file ComOpt.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I searched the documentation and the forum but I couldn't find a way to do this. Is it possible as far as you know ?&lt;/P&gt;&lt;P&gt;I cannot pass all the options directly on the command line because in some projects we have a large number of included paths and this leads to exceeding the limit of characters for a windows command line.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 19:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180591#M6116</guid>
      <dc:creator>italiandoh</dc:creator>
      <dc:date>2011-02-01T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 compiler options in a file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180592#M6117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Italiandoh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you use CodeWarrior for MCUs v10.x (Eclipse) you can use &lt;STRONG&gt;-ArgFile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Considering that a file named option.txt is used&amp;nbsp; then &lt;STRONG&gt;chc08.exe –ArgFileoption.txt&lt;/STRONG&gt; command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the CodeWarrior for MCUs v6.x (Classic) the following environment variables can be used to pass additional command line options:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;* COMPOPTIONS: additional compiler options&lt;BR /&gt;* GENPATH: #include "File" Path&lt;BR /&gt;* LIBRARYPATH: 'include &amp;lt;File&amp;gt;' Path&lt;BR /&gt;* TEXTPATH: Text File Path&lt;BR /&gt;* ABSPATH: Absolute Path&lt;BR /&gt;* LINKOPTIONS: Default SmartLinker Options&lt;BR /&gt;* OBJPATH: Object File Path&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stanish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 22:41:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180592#M6117</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2011-02-01T22:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 compiler options in a file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180593#M6118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stanish,&lt;/P&gt;&lt;P&gt;thank you for your reply. Unfortunately I'm using Codewarrior for Microcontrollers V.6.2, so from what you're saying I see there isn't really a solution for my problem.&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matteo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 01:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS08-compiler-options-in-a-file/m-p/180593#M6118</guid>
      <dc:creator>italiandoh</dc:creator>
      <dc:date>2011-02-02T01:10:00Z</dc:date>
    </item>
  </channel>
</rss>

