Any plans to integrate just binutils‑gdb into GCC?
Arsen Arsenović
aarsenovic@baylibre.com
Thu Jul 23 10:14:41 GMT 2026
unlvsur unlvsur via Gcc-help <gcc-help@gcc.gnu.org> writes:
> The cross compiler approach (aka $target-gcc) ads another dimension which is mathematically a mess.
>
> For examples if you have N platforms, to build every possible combination,
> clang only has N combos (only needs the host). While gcc needs N^2
> (host*target). It just wastes computing resources to build each of them and it
> is a terrible mess. Just look at this. And this has been proven not only in
> theory but also in reality.
Having a compiler capable of generating code for a target does not
suffice to cross-compile to that target.
Indeed, LLVMs build system contains logic for building the runtime
libraries for other targets in much the same way as GCC does.
It is a waste of time to build all N^2 (or even N^3) combinations. So
don't do that.
--
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 430 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20260723/ac270a08/attachment.sig>
More information about the Binutils
mailing list