You are not logged in.

#1 2021-02-14 23:43:55

Registered: 2020-01-25
Posts: 38

GCC can't find CC1


Somehow my make and GCC got screwed up, possibly from installing Linuxbrew. In any case, I am trying to build a package and getting an error:

gcc: error trying to exec 'cc1': execvp: No such file or directory


If I search 'whereis cc1' I get nada; gcc: /usr/bin/gcc; make:make: /usr/bin/make /usr/share/man/man1/make.1.gz

I've tried purging and reinstalling build-essential, but no change in behavior. Versions = gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516; GNU Make 4.1; golang is 1.15; libcc1-0 is installed, per Synaptic Package Manager.

The package I am trying to make got compiled on vanilla Debian 10 with little to no problem, so I know it *should* work. it possible to just point GCC to where cc1 lives? I am also wondering if it is weird that gcc is just a binary in /usr/bin and not in /usr/lib or /usr/share/lib or something like that...shouldn't there be something like /usr/lib/gcc/*/*/cc1 or something???


Board footer

Powered by FluxBB