aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-03-15 23:44:51 +0000
committerDoug Evans <dje@gnu.org>1995-03-15 23:44:51 +0000
commita2d163c4a95f099870227b511cc257190bb6e800 (patch)
tree320dd22e5403f9c15d47850e61c5718d8a8e7a1c /gcc
parent2117d0f5dc379a21d6e18a0d0460b5319ab157d9 (diff)
downloadgcc-a2d163c4a95f099870227b511cc257190bb6e800.zip
gcc-a2d163c4a95f099870227b511cc257190bb6e800.tar.gz
gcc-a2d163c4a95f099870227b511cc257190bb6e800.tar.bz2
libgcc1-test.c: Renamed from cross-test.c.
* libgcc1-test.c: Renamed from cross-test.c. * Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST. (all.cross): Delete $(ENQUIRE) dependency. (libgcc1-test): Renamed from cross-test. Delete unnecessary gcc-cross and $(LIBGCC) dependencies. Link with -nostartfiles -nostdlib `$(GCC_FOR_TARGET) --print-libgcc-file-name`. (libgcc1-test.o): Renamed from cross-test.o. Change gcc-cross dependency to xgcc since the latter is used. From-SVN: r9188
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in19
1 files changed, 10 insertions, 9 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index a40efcb..df90521 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -102,7 +102,7 @@ OLDAR = ar
# install-headers-tar or install-headers-cpio.
INSTALL_HEADERS_DIR = install-headers-tar
-# The GCC to use for compiling libgcc2.a, enquire, and cross-test.
+# The GCC to use for compiling libgcc2.a, enquire, and libgcc1-test.
# Usually the one we just built.
# Don't use this as a dependency--use $(GCC_PASSES) or $(GCC_PARTS).
GCC_FOR_TARGET = ./xgcc -B./
@@ -236,8 +236,8 @@ LIBGCC2_DEPS =
# build it.)
ENQUIRE = enquire
-# Cross-test target (must also be overridable for a target)
-CROSS_TEST = cross-test
+# libgcc1-test target (must also be overridable for a target)
+LIBGCC1_TEST = libgcc1-test
# List of extra executables that should be compiled for this target machine
# that are used for compiling from source code to object code.
@@ -589,7 +589,7 @@ all.internal: start.encap rest.encap
# Note that we can compile enquire using the cross-compiler just built,
# although we can't run it on this machine.
all.cross: native gcc-cross specs stmp-headers $(LIBGCC) $(STMP_FIXPROTO) \
- $(CROSS_TEST) $(ENQUIRE) $(EXTRA_PARTS) lang.all.cross
+ $(LIBGCC1_TEST) $(EXTRA_PARTS) lang.all.cross
# This is what to compile if making gcc with a cross-compiler.
all.build: native xgcc $(EXTRA_PARTS) lang.all.build
# This is what must be made before installing GCC and converting libraries.
@@ -624,12 +624,13 @@ config.status:
# This does the things that can't be done on the host machine.
rest.cross: $(LIBGCC) gfloat.h specs
-# Verify that it works to compile and link cross-test.
+# Verify that it works to compile and link libgcc1-test.
# If it does, then there are sufficient replacements for libgcc1.a.
-cross-test: cross-test.o native gcc-cross $(LIBGCC) $(GCC_PARTS)
- $(GCC_FOR_TARGET) $(GCC_CFLAGS) cross-test.o -o cross-test
-cross-test.o: cross-test.c native gcc-cross
- $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -c $(srcdir)/cross-test.c
+libgcc1-test: libgcc1-test.o native $(GCC_PARTS)
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) libgcc1-test.o -o libgcc1-test \
+ -nostartfiles -nostdlib `$(GCC_FOR_TARGET) --print-libgcc-file-name`
+libgcc1-test.o: libgcc1-test.c native xgcc
+ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -c $(srcdir)/libgcc1-test.c
# Recompile all the language-independent object files.
# This is used only if the user explicitly asks for it.