Subject: toolchain improvements proposal
To: None <tech-toolchain@netbsd.org>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 02/04/1999 21:01:45
I'd like to add what I believe are improvements to the toolchain, and am
soliciting comment.

- Install all libbfd/libiberty includes necessary to rebuild gas, ld,
  gdb, and the binutils on all architectures.

  This would make it much easier to rebuild the tools, and would prevent
  the installed bfd out of sync with source tree problem.  However, these
  includes are not very useful to non-NetBSD-source-tree-programs (or
  would they be?)

  The alernative would be to remove the libbfd includes from /usr/include
  entirely, and set NOLINKLIB in the build for libbfd (so that there is
  nothing installed into /usr/lib intending to allow user compiling against
  the installed library, something like libamd).

- Make libbfd include "all NetBSD targets" on all architectures.  (Note that
  this cannot include 64-bit architectures on 32-bit hosts.)  This could be
  configured out by a flag to be determined (and NOPIC would have the same
  effect).

  This way it would be possible to analyze, disassemble, objcopy, etc. all
  object files and executables on all architectures (with the 32/64 bit
  restriction mentioned above).

  This could be extended to include those targets for which we have COMPAT_
  options on each architecture (but only for that architecture?).

- Build all NetBSD ldscripts for "ld.new" on all platforms, even those that
  don't use ld.new.  They could then be moved to /usr/share.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)