Problems building a cross-compiler
Jim Wilson
wilson@cygnus.com
Fri Apr 17 16:36:00 GMT 1998
I checked in this patch.
Fri Apr 17 14:29:04 1998 Jim Wilson <wilson@cygnus.com>
* rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
Index: vxppc.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/rs6000/vxppc.h,v
retrieving revision 1.1.1.1
diff -p -r1.1.1.1 vxppc.h
*** vxppc.h 1997/08/11 15:57:23 1.1.1.1
--- vxppc.h 1998/04/17 21:28:54
*************** Boston, MA 02111-1307, USA. */
*** 22,30 ****
--- 22,36 ----
#include "rs6000/sysv4.h"
+ /* ??? This file redefines CPP_SPEC which is wrong. It should instead define
+ one of the extra specs that gets included in CPP_SPEC. For instance,
+ CPP_OS_DEFAULT_SPEC. The mrelocatable line was copied from CPP_SYSV_SPEC.
+ There is probably other stuff missing. */
+
#undef CPP_SPEC
#define CPP_SPEC "\
%{posix: -D_POSIX_SOURCE} \
+ %{mrelocatable*: -D_RELOCATABLE} \
%{!mcpu*: \
%{mpowerpc*: -D_ARCH_PPC -DCPU=PPC603} \
%{!mno-powerpc: -D_ARCH_PPC -DCPU=PPC603}} \
More information about the Gcc
mailing list