This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problems with gcc powerpc cross compiler
- To: gcc-help at gcc dot gnu dot org
- Subject: problems with gcc powerpc cross compiler
- From: "James Farlow" <jfarlow at nortelnetworks dot com>
- Date: Tue, 26 Jun 2001 11:49:59 -0400
- Organization: Nortel Networks
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.