4 ms·
> Also GNU make 4.3 has at least one bug (e.g. on Ubuntu 22.04) where > > tgt: > gcc hello > > errors when you have a directory with the name gcc
by u801e 4y ago
> Also GNU make 4.3 has at least one bug (e.g. on Ubuntu 22.04) where
>
> tgt:
> gcc hello
>
> errors when you have a directory with the name gcc in your PATH.
The make documentation examples use the CC variable to point to the path of the compiler. That is:
CC=/usr/bin/gcc
Did the bug you mention also affect make files using variables to refer to the compiler program path in rule recipies?
- stabbles 4y agoNot sure what happens in the case of CC=gcc and $(CC) ..., but in any case, this is the bug: https://savannah.gnu.org/bugs/index.php?57962 https://savannah.gnu.org/bugs/index.php?57962