This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cross compilation and headers.
- To: "'egcs at cygnus dot com'" <egcs at cygnus dot com>
- Subject: cross compilation and headers.
- From: LUTHER Sven <INST dot LUTTERSV at creditmutuel dot fr>
- Date: Tue, 9 Jun 1998 09:10:36 +0200
Hello, ...
i am trying to build a cross compiler from linux-m68k to linux-ppc.
i already asked a question regarding that on this list some day ago, and it
seems that i don't had the header files to compile libgcc2.c
but, after some experimentation, i am a bit confused.
What are the target headers good for, if the cross compiler will only run on
the host ?
I wanted to use glibc, and the purpose of the cross compiler is to cross
build glibc. so how can i get the headers, if i don't yet have a working
glibc ? Is there a difference between the headers on different plateform, or
can i just use the m68k glibc headers. can i use headers from an older
version from glibc ?
Do i also need the target kernel headers ? linux/include/asm-ppc and
linux/include/linux ?
I would be very thankful for your help,
Friendly,
Sven LUTHER