Cross compile LLVM using gcc (powerpc and x86)

Hi there,
I hope this is the right list.

I have been trying to cross compile the LLVM 3.2 for our x86 target by using i586 cross compiler provided by Oselas toolchain (

I have cross-compiled multitudes of 3rd party projects before and usually I can apply similar methods to compile the most of them.
I have however not been able to figure out exactly what is going on with this one.

My settings:

Einar Már Björgvinsson <> writes:


I just wanted to send an email here before I start to hack it to much,
hoping for some replies on this.

You can give a try to the CMake method: