I just realized I didn't answer that question. I think it might help because if I compile do .o's and then link with g++ in the sample program I sent, the cerr redirection works. This was suggested to me by Greg Chicares of MinGW. The thread is here: