[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Csaba Raduly
rcsaba at gmail.com
Wed Dec 29 23:40:20 PST 2010
Hi,
On Thu, Dec 30, 2010 at 3:54 AM, 陳韋任 <chenwj...> wrote:
> Hi, folks
>
> I am trying to build LLVM-GCC 4.2 on a Linux/PowerPC machine.
> Actually, the PowerPC is a PS3.
(snip)
> And here is the compiling error,
>
> -----------------------------------------------------------------------
> In file included from /usr/include/features.h:354,
> from /usr/include/stdio.h:28,
> from ../../gcc/tsystem.h:90,
> from ../../gcc/crtstuff.c:68:
> /usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or
Adding -m64 to CFLAGS should help.
CFLAGS=-m64 ../configure --prefix=/tmp/chenwj --enable-langugaes=c,c++
Also check that there isn't a -m32 amongst CFLAGS
HTH,
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
More information about the llvm-dev
mailing list