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 (http://www.pengutronix.de/oselas/toolchain/index_de.html).

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 <Einar.Bjorgvinsson@marel.com> writes:

[snip]

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:

http://llvm.org/docs/CMake.html#cross-compiling