This is the mail archive of the crossgcc@sourceware.org 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] |
Other format: | [Raw text] |
You do not need to configure the kernel to install the headers
In your example, the gcc pass-1 is not required, as the uClibc headers do not need a cross compiler when using LinuxThreads. If you were to use NPTL, then you need the gcc pass 1, and you'd need to also install the uClibc "start files" (which you are missing), see below.
Installing the pass 1& 2 compilers in the final prefix is dubious. It /might/ break in some cases, especially when doing a canadian-cross.
As you stated that it is not intended as "another automatic tool" but rather a mean to "teach new people", I would have first introduced the dependencies that exist between all the components. For example, why one needs to build gcc three times. Or why one needs to install the kernel headers. All this might sound obvious to you and us, but to it will most probably sound like black magic to newcomers (at least it did to me when I started building toolchains).
And once you have stated the above, you can carry on with an example. I would suggest doing a true cross-compiler example. i686 on x86_64 is not really representative, while building an ARM cross-compiler on x86_64 is.
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |