Commit 47279178 by Richard Stallman

(install-normal): Move install-libgcc after $(INSTALL_HEADERS) in deps.

(tooldir): Use exec_prefix, not prefix.
(gcc.o): Likewise for TOOLDIR_BASE_PREFIX.

From-SVN: r4288
parent 31dcf83f
...@@ -159,7 +159,7 @@ manext = .1 ...@@ -159,7 +159,7 @@ manext = .1
mandir = $(prefix)/man/man1 mandir = $(prefix)/man/man1
# Directory in which to find other cross-compilation tools and headers. # Directory in which to find other cross-compilation tools and headers.
# Used in install-cross. # Used in install-cross.
tooldir = $(prefix)/$(target) tooldir = $(exec_prefix)/$(target)
# Dir for temp files. # Dir for temp files.
tmpdir = /tmp tmpdir = /tmp
...@@ -836,7 +836,7 @@ gcc.o: gcc.c $(CONFIG_H) gvarargs.h config.status ...@@ -836,7 +836,7 @@ gcc.o: gcc.c $(CONFIG_H) gvarargs.h config.status
-DSTANDARD_STARTFILE_PREFIX=\"$(libdir)/\" \ -DSTANDARD_STARTFILE_PREFIX=\"$(libdir)/\" \
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \ -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \
-DDEFAULT_TARGET_MACHINE=\"$(target)\" \ -DDEFAULT_TARGET_MACHINE=\"$(target)\" \
-DTOOLDIR_BASE_PREFIX=\"$(prefix)/\" \ -DTOOLDIR_BASE_PREFIX=\"$(exec_prefix)/\" \
-DTOOLDIR=\"$(tooldir)/\" \ -DTOOLDIR=\"$(tooldir)/\" \
$(MAYBE_TARGET_DEFAULT) \ $(MAYBE_TARGET_DEFAULT) \
-c `echo $(srcdir)/gcc.c | sed 's,^\./,,'` -c `echo $(srcdir)/gcc.c | sed 's,^\./,,'`
...@@ -1495,7 +1495,7 @@ realclean: distclean ...@@ -1495,7 +1495,7 @@ realclean: distclean
install: $(INSTALL_TARGET) ; @true install: $(INSTALL_TARGET) ; @true
# Copy the compiler files into directories where they will be run. # Copy the compiler files into directories where they will be run.
install-normal: install-common install-libgcc $(INSTALL_HEADERS) install-man install-normal: install-common $(INSTALL_HEADERS) install-libgcc install-man
# Do nothing while making gcc with a cross-compiler. The person who # Do nothing while making gcc with a cross-compiler. The person who
# makes gcc for the target machine has to know how to put a complete # makes gcc for the target machine has to know how to put a complete
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment