Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What to do if gcc says x86-64-linux-gnu-gcc?


Asked by Blaze Waller on Dec 04, 2021 Linux



x86_64-linux-gnu-gcc is inserted in CFLAGS and gcc will interpret that as a name of one of the source files. As a workaround, let's create an empty file with that name. Empty so that it won't change the program and that very name so that compiler picks it up.
Likewise,
There seems to be an issue in the automake scripts. x86_64-linux-gnu-gcc is inserted in CFLAGS and gcc will interpret that as a name of one of the source files. As a workaround, let's create an empty file with that name. Empty so that it won't change the program and that very name so that compiler picks it up.
In addition, You need to use the up2date command or yum command or apt-get command/apt command to install GNI C/C++ (gcc) and required libs as per your Linux distro. Note: You must login as root using su - or sudo -s command and then use command as per your distro.
Indeed,
The GNU Compiler Collection (GCC) is a compiler system. It was created by the GNU Project supporting various programming languages such as C (gcc), C++ (g++), Objective-C, Objective-C++, Fortran (gfortran), Java (gcj), Ada (GNAT), and Go (gccgo). You need to use the which command to locate c compiler binary called gcc.
Similarly,
It was created by the GNU Project supporting various programming languages such as C (gcc), C++ (g++), Objective-C, Objective-C++, Fortran (gfortran), Java (gcj), Ada (GNAT), and Go (gccgo). You need to use the which command to locate c compiler binary called gcc. Usually, it is installed in /usr/bin directory.