AnsweredAssumed Answered

chc08 on the commandline - compiler messages on stdout

Question asked by Stuart Warren on Jun 20, 2007
Latest reply on Jun 21, 2007 by Stuart Warren
Hi,

As mentioned on an earlier post, I need to use chc08 in a makefile.  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.

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."  This looks like what I need, but using it doesn't change anything about the text output:

D:\freescale\Devel_with_makefile>"C:/Program Files/Freescale/CodeWarrior for HC0
8 V5.1/prog/chc08.exe"   -WStdoutOn -Ansi -Isrc/CSP/908ey16 -Isrc -I"c:/Program
Files/Freescale/CodeWarrior for HC08V5.1/lib/hc08c/include" src/main.c -ObjN=%n.
o
D:\freescale\Devel_with_makefile>

... nothing.

Strangely, even trying to print the compiler version on the command line fails:

D:\freescale\Devel_with_makefile>"C:/Program Files/Freescale/CodeWarrior for HC0
8 V5.1/prog/chc08.exe" -V

D:\freescale\Devel_with_makefile>

... still nothing.

Does anyone have this stdout feature working?
Is there a known issue with stderr/stdout not working on the command line?


Thanks!
Stuart

Outcomes