Re: x86_64-linux-gnu-gcc and friends
Sven Joachim <[email protected]>
| Newsgroups | gmane.linux.debian.user |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-19 20:18 +0200, Maximilian Schneider wrote:
> I just discovered that gcc installed as crosscompiler, package
> gcc-x86-64-linux-gnu, looks for 'as' not 'x86_64-linux-gnu-as'.
If amd64 is your native architecture, then gcc-x86-64-linux-gnu is not a
crosscompiler.
> I assume this is expected, but do not understand why. Is this a
> question for gcc devs or debian package maintainers?
The latter, see https://bugs.debian.org/1113854.
In gcc-15 and later this is fixed, but gcc-14 still has the problem in
unstable:
,----
| $ x86_64-linux-gnu-gcc-15 --print-prog-name=as
| /usr/bin/x86_64-linux-gnu-as
| $ x86_64-linux-gnu-gcc-14 --print-prog-name=as
| as
`----
As a workaround in trixie you can install the binutils package.
Cheers,
Sven