[LLVMdev] configure with clang vs gcc

reed kotler rkotler at mips.com
Mon Feb 24 16:14:07 PST 2014


I'm trying to build a native hosted mips compiler on ubuntu x86.

When I run configure with clang/llvm as the compiler, configure thinks 
that zlib is present and that valgrind is.

But later on the make it cannot find zlib.h. If I tell it to not do 
compression, then it does not look for
zlib.h but dies looking for valgrind, even if I tell it to disable-valgrind.

If I configure using gcc-mips, it decides on it's own that zlib.h is not 
available.
It also decides that valgrind is not available.

Why the difference?

Any ideas?

Reed








More information about the llvm-dev mailing list