Q: Why am I getting the following error?
Code: Select all
configure: error: C compiler cannot create executablesMake sure the -march= value you're using is supported by your version of gcc. -march=k8, and -march=pentium-m for instance will only work with gcc 3.4, and not with gcc 3.3.
You may also be experiencing toolchain problems. Make sure that when you run gcc-config -l or binutils-config -l they point to valid profiles, and set them appropriately if necessary (for instance, type gcc-config 1 to select the first gcc version in the list).
You may also find some more solutions in this topic: "C compiler cannot create executables" !??!
