NetBSD/gnu/dist
thorpej ee325b474f Back-port "spec functions" from GCC 3.3. Use if "if-exists()" spec
function to include crti.o/crtn.o in the STARTFILE and ENDFILE
specs, respectively.

Corresponding GCC ChangeLog entry:

2002-11-19  Jason Thorpe  <thorpej@wasabisystems.com>

        * gcc.c (The Specs Language): Document spec functions.
        (static_spec_functions, lookup_spec_function)
        (eval_spec_function, handle_spec_function)
        (if_exists_spec_function, alloc_args): New.
        (execute): Abort if processing_spec_function is true.
        (do_spec_1): Hand off spec to handle_spec_function if %:
        is encountered.  If processing_spec_function is true,
        end any pending argument when the end of the string is reached.
        (main): Use alloc_args to allocate the initial argument vector.
        * gcc.h (struct spec_function): New.
        (lang_specific_spec_functions): New extern.

        * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s).
        (ENDFILE_SPEC): Add if-exists(crtn%O%s).
        * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise.
2002-11-19 04:46:12 +00:00
..
autoconf Allow $M4 to contain command line options. 2001-11-14 23:48:33 +00:00
bc Fix problems in "for (;;)" and put back in quiet mode. 2001-02-19 21:07:04 +00:00
cvs Correct list of options for 'commit': '-F file', as mentioned in the 2002-11-06 22:26:47 +00:00
diffutils Undo last change for now. 2000-11-08 00:08:29 +00:00
gawk When checking that a potentially-unsigned enum is >= 0, assign it to an int 2002-03-09 13:22:52 +00:00
gettext Add .MADE to prevent building in $srcdir. (They could have at least 2002-02-27 17:34:48 +00:00
grep Formatting glitches. 2000-05-21 18:32:47 +00:00
groff Fix lots of typos. Some spotted by Adrian Mrva. 2002-10-02 15:39:09 +00:00
map-mbone move mbone tools out of basesrc, as they use part of mrouted 2002-10-01 03:50:07 +00:00
mrinfo move mbone tools out of basesrc, as they use part of mrouted 2002-10-01 03:50:07 +00:00
mrouted latest license terms, via openbsd 2002-10-01 03:41:13 +00:00
mtrace move mbone tools out of basesrc, as they use part of mrouted 2002-10-01 03:50:07 +00:00
postfix Add missing "echo", as pointed out by Havard Eidnes <he@netbsd.org> 2002-09-06 05:36:14 +00:00
sendmail more strict checking on command invocation. 2002-10-03 03:31:46 +00:00
tar Restore other symlink attributes. 2002-10-13 22:58:55 +00:00
texinfo Correctly obey $(EXEEXT) if set. (Bad automake. Bad, bad automake.) 2002-04-25 15:02:40 +00:00
toolchain Back-port "spec functions" from GCC 3.3. Use if "if-exists()" spec 2002-11-19 04:46:12 +00:00
README.toolchain Update version numbers to match the current state of the world. 2001-10-15 18:28:28 +00:00

$NetBSD: README.toolchain,v 1.3 2001/10/15 18:28:28 bjh21 Exp $


HOW TO BUILD A CROSS COMPILER
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Section to be written.]

See also: http://www.netbsd.org/Documentation/cross/


IMPORTED VERSIONS
~~~~~~~~~~~~~~~~~
The following software is in gnusrc/gnu/dist/toolchain, in a unified build
structure:

    gcc-2.95.3
    binutils-2.11.2
    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
   gnusrc/gnu/dist/toolchain, including the recursive build structure.

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

5. Binutils was imported into gnusrc/gnu/dist/toolchain, which included
   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

7. Gdb was imported into gnusrc/gnu/dist/toolchain, which included only
   the subdirectories above.