<?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>CodeWarrior for MCU中的主题 Re: chc08 on the commandline - compiler messages on stdout</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137596#M2023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi CompilerGuru,&lt;BR /&gt;&lt;BR /&gt;Thanks for the tip - that's a big help and fixed the problem. There's the tiniest reference to piper.exe in the documentation - I'd never have found it.&lt;BR /&gt;&lt;BR /&gt;I'm using GNU make (3.80).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;vegie_stu&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2007 15:28:20 GMT</pubDate>
    <dc:creator>vegie_stu</dc:creator>
    <dc:date>2007-06-21T15:28:20Z</dc:date>
    <item>
      <title>chc08 on the commandline - compiler messages on stdout</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137594#M2021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned on an earlier post, I need to use chc08 in a makefile.&amp;nbsp; I've had no big issues doing this, however I'd like to have compilation errors display on the command shell when the build is broken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;chc08 writes these messages to EDOUT by default, however there's a compiler option -WStdoutOn. From the help file, "This option determines if error file text to the error file is also written into the stdout file."&amp;nbsp; This looks like what I need, but using it doesn't change anything about the text output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;D:\freescale\Devel_with_makefile&amp;gt;"C:/Program Files/Freescale/CodeWarrior for HC0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8 V5.1/prog/chc08.exe"&amp;nbsp;&amp;nbsp; -WStdoutOn -Ansi -Isrc/CSP/908ey16 -Isrc -I"c:/Program&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Files/Freescale/CodeWarrior for HC08V5.1/lib/hc08c/include" src/main.c -ObjN=%n.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;o&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D:\freescale\Devel_with_makefile&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Strangely, even trying to print the compiler version on the command line fails:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;D:\freescale\Devel_with_makefile&amp;gt;"C:/Program Files/Freescale/CodeWarrior for HC0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8 V5.1/prog/chc08.exe" -V&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;D:\freescale\Devel_with_makefile&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... still nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have this stdout feature working?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a known issue with stderr/stdout not working on the command line?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stuart&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 06:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137594#M2021</guid>
      <dc:creator>vegie_stu</dc:creator>
      <dc:date>2007-06-21T06:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: chc08 on the commandline - compiler messages on stdout</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137595#M2022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It's not that the compiler would not print that output to stdout, the problem actually is that cmd.exe does not read it from stdout if the application happens to be a windows application (as opposed to a command line type application).&lt;BR /&gt;One way to work around this is to call a real command line application which does nothing else than route through stdin to stdout. The provided little piper.exe actually just does that. Just use&lt;BR /&gt;piper.exe chc08.exe -h&lt;BR /&gt;, for example.&lt;BR /&gt;Note for many usual clients (our own maker, microsofts nmake, many others) the stdout just works fine.&lt;BR /&gt;Also output redirection works actually.&lt;BR /&gt;chc08.exe -v &amp;gt; out.txt&lt;BR /&gt;chc08.exe -v | more&lt;BR /&gt;Which make do you try to use?&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 07:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137595#M2022</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2007-06-21T07:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: chc08 on the commandline - compiler messages on stdout</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137596#M2023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi CompilerGuru,&lt;BR /&gt;&lt;BR /&gt;Thanks for the tip - that's a big help and fixed the problem. There's the tiniest reference to piper.exe in the documentation - I'd never have found it.&lt;BR /&gt;&lt;BR /&gt;I'm using GNU make (3.80).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;vegie_stu&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2007 15:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/chc08-on-the-commandline-compiler-messages-on-stdout/m-p/137596#M2023</guid>
      <dc:creator>vegie_stu</dc:creator>
      <dc:date>2007-06-21T15:28:20Z</dc:date>
    </item>
  </channel>
</rss>

