On Thu, 2011-07-28 at 13:02 -0500, Mike McCarty wrote:
> Since the C programming language is built upon a virtual machine
> concept, and the sources for the tools are all written in C, AFAIK,
> then what is the problem. Any machine which supports the necessary
> constructs should be able to emit the code necessary. One should be
> able to build for the PC using a MAC, ISTM.

True, and I believe you can even build (for example) AIX powerpc
binaries from a Linux x86 host if you really want to take the effort.
But even with the less extreme cross-compiling used by CLFS, it's still
quite a bit more work than a 'simple' native LFS build.

> What is the issue? Does the GCC have special "hooks" into the
> kernel or sth like that?

GCC doesn't - but glibc does. Not my area of expertise, but I assume a
2.4 kernel simply doesn't provide the necessary syscall interfaces to
build a modern glibc.

Simon.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to