Am 30.10.2010 um 14:49 schrieb Andreas Schwab:

Andreas Färber <andreas.faer...@web.de> writes:

* Any advice on how to get GCC 4.3+ powerpc64-linux cross-compilers built [2] would be appreciated. We could then better rule out compiler bugs.

You don't need any of the target libraries, just the compiler, since you
are purely in freestanding land.  So all you need is "make all-gcc".

make all-gcc
make all-target-libgcc
make install-gcc
make install-target-libgcc

did the trick, thanks a lot!

You wouldn't happen to know what to do about an "undefined reference to `_GLOBAL_OFFSET_TABLE_'"?

Output format is binary and supposed to be relocatable (tried -fpic and -fpie; for an RTAS blob relocated by OpenBIOS). Compiles with above 4.5.1 powerpc64-linux-gnu-gcc but fails with powerpc-elf-gcc. Is this a symbol I must provide in freestanding land? If yes, how? Or am I using the wrong compiler flags?

Andreas

Reply via email to