John Profic wrote: > 2) at time of writing my system is only building full glibc from > cross-tools part, but there was one problem already. Cross-tools part > missing one stage in cross-tools: installing glibc headers to /tools > (gcc static build fails complaining about non existence of pthread.h). > Again I used steps found in cross-lfs (version 3.1.1) to install headers.
Yes. AFAICT, the crosslfs docs are horribly broken at the moment. At the very least, they do not match what is contained in Ryan's scripts. What has to happen is either: 1. install glibc headers prior to "GCC Static libgcc" or 2. pass `--disable-threads' to "GCC Static libgcc" FWIW, I'm currently researching and testing cross compilation methods. I've looked over Ryan's stuff and also Crosstool and any other cross compile resources I could find. From what I've learned so far, modern toolchains have many improvements to assist cross compilation which existing cross compile recipes are not taking advantage of (they are still using techniques that were necessary with older toolchains). I'll put some cross stuff up on the DIY site soon. Now that I have more knowledge, I'm even more doubtful about the virtues of faking cross compilation to bootstrap native systems.. we'll see.. Regards Greg -- http://www.diy-linux.org/ -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page