This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
make -j3 fix for stddef and crt*.o
- To: gcc-patches at gcc dot gnu dot org
- Subject: make -j3 fix for stddef and crt*.o
- From: Mike Stump <mrs at windriver dot com>
- Date: Tue, 14 Dec 1999 14:00:30 -0800 (PST)
Does this look about right? This fixes my current make -j3 build
errors on Linux with the top of the tree.
Tue Dec 14 13:52:47 1999 Mike Stump <mrs@wrs.com>
* Makefile.in (crtbegin.o, crtend.o, s-crtS): stddef.h is needed
during the build of these files during parallel builds, add
missing dependency.
Doing diffs in Makefile.in.~1~:
*** Makefile.in.~1~ Fri Dec 10 16:52:22 1999
--- Makefile.in Tue Dec 14 13:52:15 1999
*************** stmp-multilib-sub:
*** 1262,1274 ****
# linked using GCC on systems using COFF or ELF, for the sake of C++
# constructors.
$(T)crtbegin.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \
! defaults.h frame.h gbl-ctors.h
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
-finhibit-size-directive -fno-inline-functions -fno-exceptions $(CRTSTUFF_T_CFLAGS) \
-c $(srcdir)/crtstuff.c -DCRT_BEGIN -o $(T)crtbegin$(objext)
$(T)crtend.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \
! defaults.h frame.h gbl-ctors.h
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
-finhibit-size-directive -fno-inline-functions -fno-exceptions $(CRTSTUFF_T_CFLAGS) \
-c $(srcdir)/crtstuff.c -DCRT_END -o $(T)crtend$(objext)
--- 1262,1274 ----
# linked using GCC on systems using COFF or ELF, for the sake of C++
# constructors.
$(T)crtbegin.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \
! defaults.h frame.h gbl-ctors.h stmp-int-hdrs
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
-finhibit-size-directive -fno-inline-functions -fno-exceptions $(CRTSTUFF_T_CFLAGS) \
-c $(srcdir)/crtstuff.c -DCRT_BEGIN -o $(T)crtbegin$(objext)
$(T)crtend.o: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \
! defaults.h frame.h gbl-ctors.h stmp-int-hdrs
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
-finhibit-size-directive -fno-inline-functions -fno-exceptions $(CRTSTUFF_T_CFLAGS) \
-c $(srcdir)/crtstuff.c -DCRT_END -o $(T)crtend$(objext)
*************** $(T)crtend.o: crtstuff.c $(GCC_PASSES) $
*** 1278,1284 ****
crtbeginS.o crtendS.o: s-crtS ; @true
s-crtS: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \
! defaults.h frame.h gbl-ctors.h
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS_S) \
-DCRT_BEGIN -DCRTSTUFFS_O -finhibit-size-directive -fno-inline-functions \
-fno-exceptions -g0 -c $(srcdir)/crtstuff.c
--- 1278,1284 ----
crtbeginS.o crtendS.o: s-crtS ; @true
s-crtS: crtstuff.c $(GCC_PASSES) $(CONFIG_H) \
! defaults.h frame.h gbl-ctors.h stmp-int-hdrs
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS_S) \
-DCRT_BEGIN -DCRTSTUFFS_O -finhibit-size-directive -fno-inline-functions \
-fno-exceptions -g0 -c $(srcdir)/crtstuff.c
--------------