installing a cross compiler

J-C Louis
Thu Oct 11 02:51:00 GMT 2001

I would install GCC as a cross-compiler but I have problems.

I'm building Gcc on a Red hat 7.1 system, Gcc (2.96 version) is
already installed with the distribution
and I would configure Gcc for solaris on the same computer.

First, I configure and build binutils :
    configure --target=sparc-sun-solaris2.7 --prefix=/usr
    make all install

Then, I configure Gcc (3.0.1 version) :
    configure --target=sparc-sun-solaris2.7 --prefix=/usr
    make all install

But the compilation failed. Here is the error message :

    In file included from config/sparc/gmon-sol2.c:36:
    system.h:50:19: stdio.h: No such file or directory
    system.h:92:23: sys/types.h: No such file or directory
    system.h:94:19: errno.h: No such file or directory

What does that mean ?
Any help will be very appreciated.


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list