<h4>i was making the tool-chains by following the instructions in the lastest Book ゞCross-Compiled Linux From Scratch - Version GIT-20110213-PowerPC〃 found in the SVN (<a href="http://cross-lfs.org/files/BOOK/">http://cross-lfs.org/files/BOOK/</a>)<br>
</h4>Eevey thing is OK when i make the tool chain for powerpc ,and finally i got it .<br>After that , I Firstly use the powerpc-unknown-linux-gnu-gcc to make a helloworld , the program can run correctly on the target machine. <br>
but when i use the powerpc-unknow-linux-gun-g++ to compile the same program ( syntax is right, just printf("hello world") or cout << helloworld ) ,it throws the error : " illegal instruction " on the target machine 。<br>
I don't know why 。。。。can someone help me ?<br><br>