summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-01 19:15:49 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1999-03-01 19:15:49 +0000
commit19c49761eee969addc18866d6781fbae3725181e (patch)
tree06f920e4e70a6153db6074c0a96482d99f80f339 /gcc/Makefile.in
parenta68bacb96b8a6dd9a730ac65167e83d3c08f6bc4 (diff)
downloadgcc-19c49761eee969addc18866d6781fbae3725181e.tar.gz
Patch to fix solaris2 float.h/limits.h conflict.
* Makefile.in (CROSS_FLOAT_H): Delete. (FLOAT_H): Use float_h_file. (rest.cross, stmp-int-hdrs): Delete gfloat.h dependency. (gfloat.h): Delete. (stmp-int-hdrs): Use FLOAT_H instead of gfloat.h. (mostlyclean): Delete gloat.h reference. (install-cross-rest, install-float-h-cross, stmp-headers): Update comments. * configure.in (sparcv9-*-solaris2*): Set float_format to none. (sparc-*-solaris2*): Set float_format to none for 2.5 and higher. (float_h_file): Set from float_format. Substitute into Makefile.in. (float_format): No longer substitute into Makefile.in. * cross-make (FLOAT_H): Delete. * config/mips/t-cross64 (FLOAT_H): Delete. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in25
1 files changed, 9 insertions, 16 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 9d9d3639f8f..8bc986f1913 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -397,13 +397,9 @@ LIB1FUNCS_EXTRA =
# Assembler files should have names ending in `.asm'.
LIB2FUNCS_EXTRA =
-# Default float.h source to use for cross-compiler.
-# This is overridden by configure.
-CROSS_FLOAT_H=$(srcdir)/config/float-@float_format@.h
-
# We do not try to build float.h anymore. Let configure select the
# appropriate pre-built float.h file for the target.
-FLOAT_H=$(srcdir)/config/float-@float_format@.h
+FLOAT_H=@float_h_file@
# Program to convert libraries.
LIBCONVERT =
@@ -850,7 +846,7 @@ PROTO: proto
# On the target machine, finish building a cross compiler.
# This does the things that can't be done on the host machine.
-rest.cross: $(LIBGCC) gfloat.h specs
+rest.cross: $(LIBGCC) specs
# Verify that it works to compile and link libgcc1-test.
# If it does, then there are sufficient replacements for libgcc1.a.
@@ -892,11 +888,6 @@ gcc-cross: xgcc$(exeext)
cc1$(exeext): $(P) $(OBJS) $(C_OBJS) $(LIBDEPS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(C_OBJS) $(LIBS)
-# Copy float.h from its source.
-gfloat.h: $(FLOAT_H)
- -rm -f gfloat.h
- cp $(FLOAT_H) gfloat.h
-
# Build the version of limits.h that we will install.
xlimits.h: glimits.h limitx.h limity.h
if $(LIMITS_H_TEST) ; then \
@@ -2072,7 +2063,7 @@ gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS)
# Build the include directory including float.h (which no longer depends upon
# enquire).
-stmp-int-hdrs: stmp-fixinc $(USER_H) xlimits.h gfloat.h
+stmp-int-hdrs: stmp-fixinc $(USER_H) xlimits.h
# Copy in the headers provided with gcc.
# The sed command gets just the last file name component;
# this is necessary because VPATH could add a dirname.
@@ -2091,8 +2082,8 @@ stmp-int-hdrs: stmp-fixinc $(USER_H) xlimits.h gfloat.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
- if [ -s gfloat.h ]; then \
- cp gfloat.h include/float.h && \
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+ cp $(srcdir)/config/$(FLOAT_H) include/float.h && \
chmod a+r include/float.h; \
else :; fi
# Install the README
@@ -2101,7 +2092,7 @@ stmp-int-hdrs: stmp-fixinc $(USER_H) xlimits.h gfloat.h
chmod a+r include/README
touch $@
-# Now that gfloat.h no longer depends upon enquire, this is actually a no-op.
+# Now that float.h no longer depends upon enquire, this is actually a no-op.
stmp-headers:
touch $@
@@ -2296,7 +2287,7 @@ mostlyclean: intl.mostlyclean lang.mostlyclean
-rm -f */*.tree */*.loop */*.dbr */*.jump2 */*.sched */*.cse2
-rm -f */*.sched2 */*.stack */*.regmove */*.gcse
# Delete some files made during installation.
- -rm -f specs gfloat.h float.h-* enquire SYSCALLS.c.X SYSCALLS.c
+ -rm -f specs float.h-* enquire SYSCALLS.c.X SYSCALLS.c
-rm -f collect collect2 mips-tfile mips-tdump alloca.s
# Delete files generated for fixproto
-rm -rf fix-header xsys-protos.h deduced.h tmp-deduced.h \
@@ -2408,10 +2399,12 @@ install-build: force
# Run this on the target machine
# to finish installation of cross compiler.
+# This is not used anymore now that float.h does not depend on enquire.
install-cross-rest: install-float-h-cross
# Install float.h for cross compiler.
# Run this on the target machine!
+# This is not used anymore now that float.h does not depend on enquire.
install-float-h-cross: installdirs
# if [ -f enquire ] ; then true; else false; fi
# Note: don't use -. We should fail right away if enquire was not made.