Re: Odd things when change gcc from 3.3 to 3.4

2011-11-15 Thread Jonathan Wakely
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 > $

Re: Odd things when change gcc from 3.3 to 3.4

2011-11-15 Thread Mingjie Xing
2011/11/15 Mingjie Xing : > 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. Here's more information generating by strace. $ strace ./hello.gcc-3.3 > l

Odd things when change gcc from 3.3 to 3.4

2011-11-15 Thread Mingjie Xing
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 th