[LLVMdev] llvm-gcc and mips

Mike Stump mrs at apple.com
Thu Feb 28 10:26:09 PST 2008


On Feb 28, 2008, at 4:03 AM, HyperQuantum wrote:
> /home/kevin/Documents/School/Thesis/work/install/llvmgcc-mips/bin/ 
> llvm-gcc
> -nostdlib -nostdinc
> -I/home/kevin/Documents/School/Thesis/work/install/psptoolchain/psp/ 
> include
> -I/home/kevin/Documents/School/Thesis/work/install/psptoolchain/lib/ 
> gcc/psp/4.1.0/include
> -c -emit-llvm -Wall \
>                -D_PSP_FW_VERSION=150 -DPSP=1 -D__psp__=1 -D_PSP=1
> -I/home/kevin/Documents/School/Thesis/work/install/psptoolchain/psp/ 
> sdk/include
> -O1 main.c -o main.o
> llvm-gcc: error trying to exec 'cc1': execvp: No such file or  
> directory

Do:

   find . -name cc1 -print

to find cc1 in the build directory.  Then, copy this file by hand to  
to llvm-gcc -print-prog-name=cc1.



More information about the llvm-dev mailing list