On Thu, Feb 28, 2008 at 7:26 PM, Mike Stump <mrs at apple.com> wrote:> On Feb 28, 2008, at 4:03 AM, HyperQuantum wrote:> > 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.The destination was unclear, it just printed "cc1" without a directory. But I found where to put it by looking where cc1 is located for the other GCCs on my PC. At least I got llvm-gcc running again. Thanks.
On Fri, Feb 29, 2008 at 2:23 PM, HyperQuantum <hyperquantum at gmail.com> wrote:> At least I got llvm-gcc running again.Something is still wrong because I cannot get Pi_Calc to run after compiling it with this semi-cross-compiler, and it worked with the regular llvm-gcc. I configured the cross compiler with target mips-unknown-linux-gnu. Should I use another triple or do I need to hack the llvm-gcc sources some more?
Hi, When using mips-unknown-linux-gnu as a cross-compiler, the llvm Mips backend is called by cc1 and with that you get llvm bytecode defined relative to the Mips ABI. This can be messing up somehow your generated C code. 2008/3/7, HyperQuantum <hyperquantum at gmail.com>:> On Fri, Feb 29, 2008 at 2:23 PM, HyperQuantum <hyperquantum at gmail.com> wrote: > > At least I got llvm-gcc running again. > > > Something is still wrong because I cannot get Pi_Calc to run after > compiling it with this semi-cross-compiler, and it worked with the > regular llvm-gcc. I configured the cross compiler with target > mips-unknown-linux-gnu. Should I use another triple or do I need to > hack the llvm-gcc sources some more? > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Bruno Cardoso Lopes http://www.brunocardoso.org "Morte: Mas não para você pistoleiro"