[LLVMbugs] Can't build llvm-gcc at FreeBSD after last chages in llvm-gcc/gcc/llvm-types.c

Misha Brukman brukman at uiuc.edu
Sun Jul 18 13:53:39 PDT 2004


On Sun, Jul 18, 2004 at 10:43:18PM +0200, Reid Spencer wrote:
> I've seen the "sanity check" error before. Probably your system doesn't 
> have /lib/cpp. This is the case under cygwin. Just make a soft link to 
> it and you'll solve that problem.

I recall getting something like this on a different platform...
My solution was to define environment variable CPP (or CXXCPP, or both)
to be the exact location of cpp, /bin/cpp I think it was. Or simply:

  env CPP=/bin/cpp CXXCPP=/bin/cpp configure [...]

The LLVM configure script displays information about the CPP and CXXCPP
environment variables -- one is for C and the other for C++ files.  The
llvm-gcc configure script doesn't mention either one.

HTH.
-- 
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu




More information about the llvm-bugs mailing list