This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
rs6000 PATCH: Move CLIB from t-* to x-*
- To: gcc-patches at gcc dot gnu dot org
- Subject: rs6000 PATCH: Move CLIB from t-* to x-*
- From: Jason Merrill <jason at redhat dot com>
- Date: Sat, 23 Sep 2000 08:17:10 -0700
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