I have to say that this problem is strange.
The cross-compiler used for cross-compilation in cygwin yesterday is gcc3.4.6-PPC-Eabi. Copy gcc3.4.6-PPC-Eabi to the cygwin directory and modify/etc/profile in cygwin, add Path =/cygdrive/D/cygwin/gcc3.4.4-PPC-Eabi/bin :.: $ path and export path (that is, modify the environment variable), and then compile the Code directly in cygwin without exiting, then appeared "PPC-Eabi can not find the cygintl-3.dll" prompt, ask others, others said back did not have this problem, so I searched on the internet, some foreigners said cygwin installation when there is also this problem, may be cygwin installation when no selection to have a cygintl-3.dll library.
So I will reinstall cygwin. All the packages selected for the first reinstallation will be installed, and the result will not work. The second time I reinstalled the package, I carefully read each package, and the result was no libintl3 library, including libintl1 and libintl2, which left me depressed. Why is there a problem with cygwin2005?
Helpless, on the thunder searched a cygwin-release-20061108.iso, but fortunately it was faster, and then re-installed (did not uninstall the original, guess this should be no problem), carefully read the installation, with the libintl3 library, you can reinstall it with confidence. However, the installation is too slow. You only need to let it be installed for one night.
Come in the morning and open it again. There is still a problem! Cygwin cannot be used at all. You should uninstall it and try again. Let hy to help, uinstall and reinstall, no, so installed back to version 2005, after installation I did not copy the cross compiler, first compiled once, this time did not report the problem of cygintl-3.dll, of course, compilation is not good. Then copy gcc3.4.4-PPC-Eabi (no 3.4.6 is required) to change the environment variable, do not restart cygwin, compile immediately, and prompt that the PPC-Eabi cannot be found, strange (but no cygintl-3.dll problem reported now ). Change gcc3.4.6-PPC-Eabi, change the environment variable, did not restart cygwin, compile immediately, the problem of cygintl-3.dll jumped out immediately. Kao.
Hy, the whole process was completed, the environment variable was changed again, cygwin was restarted, and compilation was completed! I'm dizzy. cygwin only has one ETC/profile at startup, so you have to restart cygwin after changing the file. I haven't restarted cygwin all the time. Maybe it won't be able to find the cross compiler, and then it comes out with an inexplicable problem. Ft.