2003-03-05 11:42:49 +03:00
|
|
|
$NetBSD: README.toolchain,v 1.4 2003/03/05 08:42:49 skrll Exp $
|
2000-07-26 04:40:02 +04:00
|
|
|
|
|
|
|
|
|
|
|
HOW TO BUILD A CROSS COMPILER
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
[Section to be written.]
|
|
|
|
|
2001-01-12 04:43:57 +03:00
|
|
|
See also: http://www.netbsd.org/Documentation/cross/
|
|
|
|
|
2000-07-26 04:40:02 +04:00
|
|
|
|
|
|
|
IMPORTED VERSIONS
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
The following software is in gnusrc/gnu/dist/toolchain, in a unified build
|
|
|
|
structure:
|
|
|
|
|
2001-10-15 22:28:28 +04:00
|
|
|
gcc-2.95.3
|
2003-03-05 11:42:49 +03:00
|
|
|
binutils-2.13.2.1
|
2000-07-26 04:40:02 +04:00
|
|
|
gdb-5.0
|
|
|
|
|
|
|
|
|
|
|
|
IMPORT STEPS
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
1. All distributions were unpacked and all `.cvsignore' files were
|
|
|
|
removed.
|
|
|
|
|
|
|
|
2. All files in gcc's `include' top level directory were removed from
|
|
|
|
binutils's `include' top level directory (these are the libiberty
|
|
|
|
include files).
|
|
|
|
|
|
|
|
cd gcc-*/include; for f in *; do rm -f ../../binutils-*/include/$f; done
|
|
|
|
|
|
|
|
3. The gcc distribution was imported in one shot into
|
2003-03-05 11:42:49 +03:00
|
|
|
src/gnu/dist/toolchain, including the recursive build structure.
|
2000-07-26 04:40:02 +04:00
|
|
|
|
|
|
|
4. The binutils distribution was stripped down to the following directories,
|
|
|
|
with no files at the top level:
|
|
|
|
|
|
|
|
bfd, binutils, gas, gprof, include, intl, ld, opcodes
|
|
|
|
|
2003-03-05 11:42:49 +03:00
|
|
|
5. Binutils was imported into src/gnu/dist/toolchain, which included
|
2000-07-26 04:40:02 +04:00
|
|
|
only the subdirectories above.
|
|
|
|
|
|
|
|
6. The gdb distribution was stripped down to the following directories,
|
|
|
|
with no files at the top level:
|
|
|
|
|
|
|
|
gdb, mmalloc, readline, sim
|
|
|
|
|
2003-03-05 11:42:49 +03:00
|
|
|
7. Gdb was imported into src/gnu/dist/toolchain, which included only
|
2000-07-26 04:40:02 +04:00
|
|
|
the subdirectories above.
|