Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

The configure script finds the right C compiler, but it uses the LLVM linker from a previous build. What do I do?

0
Posted

The configure script finds the right C compiler, but it uses the LLVM linker from a previous build. What do I do?

0

The configure script uses the PATH to find executables, so if it’s grabbing the wrong linker/assembler/etc, there are two ways to fix it: • Adjust your PATH environment variable so that the correct program appears first in the PATH. This may work, but may not be convenient when you want them first in your path for other work. • Run configure with an alternative PATH that is correct. In a Borne compatible shell, the syntax would be: % PATH=[the path without the bad program] ./configure … This is still somewhat inconvenient, but it allows configure to do its work without having to adjust your PATH permanently.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123