This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

installing a cross compiler


Hello.
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.

Jean-Christophe.




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]