building cross compiler for PowerPC
ih8mj at fjf.gnu.de
Fri Mar 11 22:15:54 CET 2005
Igor Marnat wrote:
> > FYI I have built to Mac-OSX cross compiler based on 3.4.3. The runtime
> > build failed since I have no OSX libc headers (and no OSX binutils...). But
> > it got past configure stage and attempted to compile files.
> Waldek, thank you very much for your answer, it directed me to the right way.
> I've managed to build cross compiler for ppc from GPC 20050217 version.
> Just for the information: in <gpc_source_dir>/p/rts/configure I've added
> just before strings
> and things went better, gpc understood that it's being built as a
> cross-compiler. I didn't make the patch because it is not a real one but
> perhaps it will be useful information for someone.
Also configure is a generated file (by autoconf) so we couldn't
apply such a patch anyway. I currently don't have the time to
investigate the issue further, but probably in the end we either
need to change the autoconf input (this would be a patch for us to
apply), or fix something in autoconf itself (which would be a thing
for the autoconf maintainers) -- or use another autoconf versions (I
know they differ quite a bit, and I currently don't really follow
Frank Heckenbach, frank at g-n-u.de, http://fjf.gnu.de/, 7977168E
GPC To-Do list, latest features, fixed bugs:
GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8
More information about the Gpc