<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><DIV><DIV>Building llvm-gcc as a cross compiler is tricky and not documented.  I'm away from Urbana right now, but when I get back tomorrow I'll take a look at what I did for MIPS and see if I can reconstruct it for you.</DIV></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Hi,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It looks like I ran the llvm-gcc configure script with the following options, where $(INSTALLDIR) is the directory I built into:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>configure --prefix=$(INSTALLDIR) --disable-threads --disable-nls --disable-shared --enable-languages=c,c++ --program-prefix=llvm- --target=mipseb-linux --with-sysroot=$(INSTALLDIR)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You will probably want to say --target=powerpc.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I hope this helps.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Rob</DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Robert L. Bocchino Jr.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Ph.D. Student, Computer Science</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">University of Illinois, Urbana-Champaign</FONT></P>  </DIV><BR></BODY></HTML>