Major GCC surgery. Move most compiler-specific files into named
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 16 Jan 2004 07:45:22 +0000 (07:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 16 Jan 2004 07:45:22 +0000 (07:45 +0000)
commit4806ab2eb48faff4e76412e27ad0c30609288d37
tree5ea989acf57dde51569cfc2f2d824f85f57e532e
parentdec85733186f7078a8f68327309f692aca0ad9bc
Major GCC surgery.  Move most compiler-specific files into named
subdirectories and do a major overhaul of the front-end binaries in /usr/bin.

    /usr/libdata/gcc -> /usr/libdata/gcc2
    /usr/libdata/ldscripts -> /usr/libdata/gcc2/ldscripts
    /usr/libexec/{all_gcc_bins} -> /usr/libexec/gcc2/*
    /usr/libexec/{elf,aout}/* -> /usr/libexec/gcc2/{elf,aout}/*

OBJFORMAT_PATH has been changed from a full path to a base path, because
the objformat binary (hardlinked to most compiler related binaries in
/usr/bin) must now interpret the command name and use one of two different
paths to find the actual binary.  Previously certain gcc binaries, such as
'cc' and 'cpp', were directly installed in /usr/bin.  That is no longer the
case.

Objformat now supports the GCCVER environment variable for vectoring the
compiler version.  This will be used to support gcc3 and other compilers.
39 files changed:
Makefile.inc1
contrib/gcc/gcc.c
etc/mtree/BSD.usr.dist
etc/rc.d/ldconfig
gnu/lib/Makefile
gnu/lib/gcc2/Makefile [copied from gnu/lib/Makefile with 60% similarity]
gnu/lib/gcc2/Makefile.inc [new file with mode: 0644]
gnu/lib/gcc2/csu/Makefile [new file with mode: 0644]
gnu/lib/gcc2/libg++/Makefile [moved from gnu/lib/libg++/Makefile with 93% similarity]
gnu/lib/gcc2/libg++/doc/Makefile [moved from gnu/lib/libg++/doc/Makefile with 64% similarity]
gnu/lib/gcc2/libgcc/Makefile [moved from gnu/lib/libgcc/Makefile with 97% similarity]
gnu/lib/gcc2/libgcc_r/Makefile [moved from gnu/lib/libgcc_r/Makefile with 69% similarity]
gnu/lib/gcc2/libobjc/Makefile [moved from gnu/lib/libobjc/Makefile with 88% similarity]
gnu/lib/gcc2/libstdc++/Makefile [moved from gnu/lib/libstdc++/Makefile with 97% similarity]
gnu/lib/gcc2/libstdc++/_G_config.h [moved from gnu/lib/libstdc++/_G_config.h with 94% similarity]
gnu/lib/gcc2/libstdc++/doc/Makefile [moved from gnu/lib/libstdc++/doc/Makefile with 63% similarity]
gnu/usr.bin/binutils/Makefile.inc
gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c
gnu/usr.bin/binutils/ld/Makefile
gnu/usr.bin/cc/Makefile.inc
gnu/usr.bin/cc/c++/Makefile
gnu/usr.bin/cc/c++filt/Makefile
gnu/usr.bin/cc/cc/Makefile
gnu/usr.bin/cc/cc1/Makefile
gnu/usr.bin/cc/cc1obj/Makefile
gnu/usr.bin/cc/cc1plus/Makefile
gnu/usr.bin/cc/cc_tools/dragonfly-native.h
gnu/usr.bin/cc/cccp/Makefile
gnu/usr.bin/cc/cpp/Makefile
gnu/usr.bin/cc/f77/Makefile
gnu/usr.bin/cc/f771/Makefile
share/mk/bsd.lib.mk
share/mk/bsd.libnames.mk
share/mk/bsd.own.mk
usr.bin/kdump/Makefile
usr.bin/objformat/Makefile
usr.bin/objformat/objformat.c
usr.bin/rpcgen/rpc_main.c
usr.bin/truss/Makefile