"Paul Edwards" <mutazi...@gmail.com> writes: > The next thing I hit was that genmodes didn't compile because > there were conflicts between the strsignal function in the > Linux include files and the system.h. Looking at the system.h, > it was including things in because it thought that the prototypes > didn't exist. Which would have been true for the cross-compiler, > but isn't true for a native gcc. How are those two different things > meant to be reconciled?
When you run the configure script for building the native gcc, it is supposed to detect that the prototypes exist. The configure script will do this by running the cross-compiler being used to build the native gcc. The cross-compiler is expected to be using the appropriate header files, and thus to see the declarations. Ian