[LLVMdev] etc/llvm/c contains unresolved specify %llvmcc1%

Holger Schurig hs4233 at mail.mn-solutions.de
Fri Aug 24 14:04:22 PDT 2007


After I uncommented line 55 in etc/llvm/c, I tried
again to use llvmc to compile a program, to no avail:

$ llvmc -c main.c
llvmc: Can't find program '%llvmcc1%'


I have, however, a cc1 from llvm-gcc-4.0:

$ find dist -name cc1
dist/libexec/gcc/i686-pc-linux-gnu/4.0.1/cc1

Blindly substituting this into the etc/llvm/c file
brings me only so far:

$ /usr/src/llvm/dist/bin/llvm-as: /tmp/llvm_9pMElI/main.trans:3,0: /tmp/llvm_9pMElI/main.trans:3: error: syntax error, unexpected $undefined, expecting GLOBAL or CONSTANT while reading token: '.'
llvmc:



More information about the llvm-dev mailing list