On 15 November 2011 08:38, Mingjie Xing wrote: > Hi, > > Recently, I run into a very odd things when change my gcc toolchain > from 3.3.* to 3.4.*. The compiled application such as a simple hello > printing, is unable to redirect into a file. > > $ ./hello > hello > $ ./hello > log > $ cat log > $ > > It's a cross toolchain, using binutils-2.16, glibc-2.3.2, with the > target mipsel-linux. > > It's really odd. Any suggestions?
This question is inappropriate for this mailing list, questions about using GCC belong on the gcc-h...@gcc.gnu.org mailing list, please take any follow up there. GCC 3.4 is ancient history, but shouldn't cause a problem like this so I assume it's caused by something in your program or something wrong with your GCC 3.4 installation. Is there any reason not to use a more recent version of GCC?