Ask Your Question

Revision history [back]

I had the same issue trying to compile things in the 'fish' shell. Running bash and repeating the make command made it work correctly. I haven't figured out exactly why this is, but I've gotten used to getting weird results when not running bash.

In fish the output of gcc -print-prog-name=cc1 is just cc1

in bash it's

/usr/libexec/gcc/x86_64-redhat-linux/8/cc1