This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

rs6000 PATCH: Move CLIB from t-* to x-*


CLIB is host-dependent, not target.  This broke building a
cross-compiler from linux.

2000-09-23  Jason Merrill  <jason@redhat.com>

	* config/rs6000/x-aix41 (CLIB): Define here.
	* config/rs6000/t-aix43: Not here.
	* config/rs6000/t-aix41: Or here.  Remove.

Index: gcc/config/rs6000/t-aix41
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/t-aix41,v
retrieving revision 1.1
diff -c -p -r1.1 t-aix41
*** gcc/config/rs6000/t-aix41	2000/03/19 13:45:25	1.1
--- gcc/config/rs6000/t-aix41	2000/09/23 15:15:02
***************
*** 1,4 ****
- # We need -lld for collect2 (actually this only matters
- # for a native compiler, but this is as good a place as any
- # to define the symbol).
- CLIB=-lld
--- 0 ----
Index: gcc/config/rs6000/t-aix43
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/t-aix43,v
retrieving revision 1.8
diff -c -p -r1.8 t-aix43
*** gcc/config/rs6000/t-aix43	2000/09/19 20:30:27	1.8
--- gcc/config/rs6000/t-aix43	2000/09/23 15:15:02
*************** INSTALL_LIBGCC = install-multilib
*** 51,58 ****
  
  # Both 32-bit and 64-bit objects in archives
  AR_FLAGS_FOR_TARGET=-X32_64
- 
- # We need -lld for collect2 (actually this only matters
- # for a native compiler, but this is as good a place as any
- # to define the symbol).
- CLIB=-lld
--- 51,53 ----
Index: gcc/config/rs6000/x-aix41
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/rs6000/x-aix41,v
retrieving revision 1.3
diff -c -p -r1.3 x-aix41
*** gcc/config/rs6000/x-aix41	2000/03/16 03:16:41	1.3
--- gcc/config/rs6000/x-aix41	2000/09/23 15:15:02
***************
*** 2,4 ****
--- 2,9 ----
  
  # Show we need to use the C version of ALLOCA
  ALLOCA=alloca.o
+ 
+ # We need -lld for collect2 (actually this only matters
+ # for a native compiler, but this is as good a place as any
+ # to define the symbol).
+ CLIB=-lld

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]