To build ELF executables you need an ELF C compiler, an ELF assembler, an ELF linker, and ELF C libraries (static/dynamic/debug/profile).
These are the sources you need to build the ELF system: if you change some source (e.g. you would like to use gcc-2.6.3 instead of gcc-2.6.2) you are on your own. I think you should follow this document anyway because the things contained here are generalized enough. If you use a binutils package newer that binutils-2.5.2 you may not need to patch it with the patch 2.5.2 => 2.5.2.6 If you use a newer gcc you might be able follow this HOWTO step by step. If you use a newer libc, you may not need to edit all the files I have edited.
Do not do anything without thinking (be sure of what you are doing)!!!
gcc-2.6.2 as is
binutils-2.5.2 patched to 2.5.2.6
binutils-2.5.2 patched to 2.5.2.6
libc-4.6.27 as is
binutils-2.5.2 => binutils-2.5.2.6
standard GNU distribution
standard GNU distribution
at the end of this document or in libc-4.6.27 announce
excerpt from libc-4.6.27 announce
You need <linux/elf.h> in the kernel 1.1.72 or above if you want to
compile the ELF libraries yourself. Otherwise, please join the Linux
gcc list.
You need to recompile the libraries with the kernel 1.1.65 or above
to gain the support for 57600 and 115200 bps.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter