i370 port - constructing compile script

Ian Lance Taylor iant@google.com
Fri Oct 23 14:58:00 GMT 2009

"Paul Edwards" <mutazilah@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.


More information about the Gcc mailing list