Steve Rapinchuk wrote: > I tried changing all the settings in "Advanced Build Options", but it > still doesn't catch the messages sent to stderr. I sent an email to IDM > support, and they said to change the setting for GrabErr in the compiler > configuration file from 0 to 1, but that causes other problems as it > seems to intercept stderr that picc18.exe should be getting from it's > sub-processes. I use CodeWright with the Hi-Tech compilers (versions 8.x), and have no problem catching the compiler and linker errors. I use a build command line of make -f%y.mak >%x%y.err 2>&1 Similarly, the compile command line is make -B -f%y.mak %r.obj >%x%y.err 2>&1 (CodeWright substitutes %y with the project name, %x with its path, %r with the file name of the file currently being edited.) The "2>&1" part has the effect that both stdout and stderr get sent to the .err file. The make file does nothing unusual; it simply calls the Hi-Tech compiler with the appropriate command lines for compiling or linking. (The option "-B" forces a recompile in the compilation command line, even if the file should be up to date.) After the make call returns, there is a .err file with the compiler/linker output that can be parsed. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist