This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

cross compilation and headers.



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


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