powerpc target cross compiler help

Mike Stump mrs@windriver.com
Fri Dec 31 20:54:00 GMT 1999

> From: Dave Reini <dreini@celoxcom.com>
> To: gcc-bugs@gcc.gnu.org
> Date: Thu, 9 Dec 1999 13:34:15 -0600 (CST)

> I then try the gcc build, specifying the target and the prefix.  It
> compiles to the point of fixinc.sh, then it dies because
> powerpc-elf/sys-include directory does not exist under the prefix
> directory.  I've been searching through FAQ's, README's, etc. The
> only thing I can find is something about --with-headers.

Did you by chance read:


where it says:

-with-headers=dir -- Specifies a directory which has target include
     files. This options is required when building a cross compiler,
     if ${prefix}/${target}/sys-include doesn't pre-exist. These
     include files will be copied into the gcc install
     directory. Fixincludes will be run on these files to make them
     compatible with gcc.


More information about the Gcc-bugs mailing list