Re: Any plans to integrate just binutils‑gdb into GCC?

Segher Boessenkool <[email protected]> Wed, 22 Jul 2026 07:22:27 -0500
Newsgroups gmane.comp.gcc.help
Message-ID <amC2A4TIxVQG28oQ@gate>
On Wed, Jul 22, 2026 at 12:58:33PM +0200, Arsen Arsenović wrote:
> unlvsur unlvsur <[email protected]> writes:
> 
> > LLVM provides unified replacements for both binutils‑gdb and GCC
> > (including llvm, llvm‑ar, lld, lldb, clang, libc++, etc.), which makes
> > adding support for new platforms—such as WebAssembly—much simpler. Is
> > there any intention to consolidate binutils‑gdb with GCC to create a
> > more integrated toolchain? Adding a platform for compiler support to
> > modify two projects is a huge headache.
> >
> > Moreover, binutils-gdb itself already relies on dependencies GCC
> > require (gmp, mpfr, mpc etc). Just merge two project together so we
> > can start to phase out all the platform mess to eliminate cross
> > compiler completely like LLVM/clang do. Make native compiler itself a
> > "cross compiler". In the future, there will only be native vs
> > canadian, no more "native vs cross" --target=xxxx --sysroot=
> 
> You can already merge them into one tree and build them together, see
> https://gcc.gnu.org/wiki/Building_Cross_Toolchains_with_gcc (this page
> is a little out of date, but the same principle holds for combined-tree
> building).

This is true for all projects that used to be hosted together in one big
CVS tree.  With CVS files can be shared in many projects.  That stuff
went away with "more modern" version control systems.

> There are no current plans to merge the projects development trees, to
> my awareness.

It still (largely) works if you manually combine the trees.  No doubt
there has been some bitrot though, not many people test this anymore :-)


Segher