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]

Re: is that "install glibc headers" step in crosstool necessary?


On Wed, Nov 02, 2005 at 06:49:05AM -0500, Robert P. J. Day wrote:

>   i was just perusing the cross-LFS docs and noticed that *their*
> recipe for building a toolchain didn't involve the installation of
> glibc headers between the binutils and bootstrap gcc steps.

The cross-LFS docs are incorrect. The writers have been informed of their
mistake yet they continue to fly in the face of common cross-toolchain
wisdom. Please read this post for some of the technical details:

  http://linuxfromscratch.org/pipermail/lfs-dev/2005-July/052409.html

And please read the reply to another post of mine on the GCC list by Jim
Wilson (a toolchain expert):

  http://gcc.gnu.org/ml/gcc/2005-07/msg01206.html

In summary, it *is* possible to build cross-toolchains on some arch's
without the Glibc headers step... but it results in unsatisfactory code
related to exception handling, stack unwinding and thread cancallation. I'm
no expert but I have done loads of research and testing. Nevertheless, I am
smart enough to listen to the GCC gurus... trust me.. I've done the hard
yards with Google on this topic and the evidence confirms that building
Glibc based cross-toolchains without the Glibc headers step is just plain
wrong.

Regards
Greg
--
http://www.diy-linux.org/

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


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