[LLVMdev] Building LLVM on Linux/PowerPC failed

Erik de Castro Lopo mle+cl at mega-nerd.com
Tue Dec 28 20:39:47 PST 2010


陳韋任 wrote:

>   I am trying to build LLVM 2.8 Release on a Linux/PowerPC machine.
> Actually, the PowerPC is a PS3.
> 
>   Here is my system information:
> 
> ----------------------------------------------------------------------
> $ uname -a
> Linux ps3 2.6.32-rc2-00995-g96ebbe6-dirty #2 SMP Fri Oct 2 15:12:28 CST
> 2009 ppc64 Cell Broadband Engine, altivec supported GNU/Linux
> $ gcc --version
> gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
> -----------------------------------------------------------------------

Does configuring as:

    ./configure --host=ppc-unknown-linux-gnu --build=ppc-unknown-linux-gnu \
              --target=ppc-unknown-linux-gnu

work for you?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the llvm-dev mailing list