problems with gcc powerpc cross compiler
James Farlow
jfarlow@nortelnetworks.com
Tue Jun 26 08:50:00 GMT 2001
Hello,
I am trying to compile gcc/newlib in a cross-compiler configuration and
I keep being at odds with the -mrelocatable-lib option. I have tried
several different versions of newlib and gnu as/gcc, and no matter what
I do, the gcc compiler seems to want to generate relocations 'as' says
are illegal with the -mrelocatable option(apparently passed through via
-mrelocatable-lib), but there seems to be no way (in newlib anyway) to
disable the -mrelocatable option for powerpc. Are the config scripts
wrong and I should just purge the generated makefiles of
-mrelocatable-lib,
or is there something I am missing? The .mh file for ppc seems to imply
we always should use -mrelocatable - yet as and gcc seem to be at odds
with each other.
More information about the Gcc-help
mailing list