Hi, 

I've again got a platform support question:

Has the current base toolchain for PPC
(binutils-apple-4.2/gcc-4.2.1_p5666-r2) ever been tested on OS X 10.4 PPC?

I ran into serious trouble trying to bootstrap my old iBook.
binutils-apple-4.2 doesn't compile. After fixing that, it can't link
gcc-apple-4.2.1's cc1objplus because the entry __start and main() are
more that 16MB apart. This got me on to crt1.o from csu which needs to
be compiled with -mlong-branch on 10.4 which is isn't. After fixing that
I now get an error that "half word text relocs aren't supported in
__start for architecture ppc". I don't even know where to start. :-/

Trying all this with binutils-apple-3.2, which do compile, doesn't
change things either.

So my guess is that when prefix was working on 10.4 PPC, much more stuff
was used from the system directly, such as crt1.o. Perhaps even
gcc-4.0.1 was still in use.

Is someone currently actually using prefix on OS X 10.4 PPC and can help
me out?

Rationale: 10.4 is the ultimate benchmark for self-containedness of
prefix because loads of stuff the tools in the prefix need just don't
exist in the system yet. It got me on to clang always using the system's
libstdc++ for example because that produces warnings because of a
mismatching libgcc_s from the prefix.
-- 
Thanks!
Michael

Reply via email to