Building on Solaris2.7

Darren Cubbage darren_cubbage@systemsunion.com
Sat Apr 1 00:00:00 GMT 2000


I am trying to build libstdc++ 2.90.7 on Solaris 2.7 with gcc 2.95

I am building in /files/darren/libstdc++
The source si in /files/darren/libstdc++-2.90.7

I ran ../libstdc++-2.90.7/configure
then make

I then get the following error

...
Making all in src
make:: Fatal error in reader: Makefile, line 496: Extra ':', '::', or ':='
on dependancy line
...

The makfile is included:

 <<Makefile>> 

ANy ideas greattly appreciated

Darren

-------------- next part --------------
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

srcdir = ../../libstdc++-2.90.7/src
top_srcdir = ../../libstdc++-2.90.7
prefix = /usr/local
exec_prefix = ${prefix}

bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/libstdc++
pkglibdir = $(libdir)/libstdc++
pkgincludedir = $(includedir)/libstdc++

top_builddir = ..

ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader

INSTALL = ../../libstdc++-2.90.7/install-sh -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = sparc-sun-solaris2.7
host_triplet = sparc-sun-solaris2.7
AS = @AS@
CC = gcc
CXX = c++
DLLTOOL = @DLLTOOL@
EXEEXT = 
LD = /usr/ccs/bin/ld
LIBMATHOBJS =  ccos.lo ccosf.lo ccosh.lo ccoshf.lo cexp.lo cexpf.lo c_log.lo c_logf.lo clog10.lo clog10f.lo cpow.lo cpowf.lo csin.lo csinf.lo csinh.lo csinhf.lo csqrt.lo csqrtf.lo ctan.lo ctanf.lo ctanh.lo ctanhf.lo carg.lo cargf.lo nan.lo hypotf.lo atan2f.lo expf.lo copysignf.lo
LIBSTRINGOBJS = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LN_S = ln -s
MAINT = #
MAKEINFO = /files/darren/libstdc++-2.90.7/missing makeinfo
NM = /usr/ccs/bin/nm -p
OBJDUMP = @OBJDUMP@
OPTLEVEL = 
PACKAGE = libstdc++
RANLIB = ranlib
USE_LONG_DOUBLE = no
VERSION = 2.90.8
ctype_include_dir = config/solaris

AUTOMAKE_OPTIONS = 1.3 gnits
MAINT_CHARSET = latin1

# We have a problem when building the shared libstdc++ object if the
# rules automake generates would be used.  We cannot use CXX to be used
# in libtool since this would add -lstdc++ to the link line which of
# course is impossible.
WERROR = -Werror
# OPTIMIZE_CXXFLAGS = -fsquangle -fnew-exceptions \
#                  -ffunction-sections -fvtable-gc -Wl,--gc-sections
CXXFLAGS =  -g -fno-honor-std
AM_CXXFLAGS = -D_GNU_SOURCE -fno-implicit-templates \
	      -Wall -Wno-format -W -Wwrite-strings -Winline $(WERROR) \
	      $(OPTIMIZE_CXXFLAGS)


CXXLINK = $(LIBTOOL) --mode=link $(CC) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@

INCLUDES = -nostdinc++ -I$(top_srcdir)/config/solaris -I$(top_srcdir) \
	   -I$(top_srcdir)/stl -I$(top_srcdir)/libio 


lib_LTLIBRARIES = libstdc++.la

headers = \
	bits/ctype_base.h \
	bits/basic_string.h bits/char_traits.h \
	bits/fstream.tcc bits/generic_shadow.h \
	bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc \
	bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h \
	bits/mask_array.h bits/slice.h bits/slice_array.h \
	bits/gslice.h bits/gslice_array.h bits/indirect_array.h \
	bits/ostream.tcc bits/sbuf_iter.h \
	bits/sstream.tcc bits/std_cassert.h bits/std_utility.h \
	bits/std_cctype.h bits/std_cwctype.h bits/std_ciso646.h \
	bits/std_cerrno.h bits/std_cfloat.h bits/std_climits.h \
	bits/std_clocale.h bits/std_cmath.h bits/std_complex.h \
	bits/std_csetjmp.h bits/std_csignal.h bits/std_cstdarg.h \
	bits/std_cstddef.h bits/std_cstdio.h bits/std_cstdlib.h \
	bits/std_cstring.h bits/std_ctime.h bits/std_cwchar.h \
	bits/std_exception.h bits/std_fstream.h bits/std_iomanip.h \
	bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h \
	bits/std_istream.h bits/std_locale.h bits/std_new.h \
	bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h \
	bits/std_string.h bits/std_typeinfo.h bits/std_valarray.h \
	bits/streambuf.tcc bits/string.tcc bits/basic_file.h \
	bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h \
	bits/stl_pthread_alloc.h bits/pthread_allocimpl.h \
	bits/istream.tcc bits/stl_threads.h bits/stl_iterator_base.h \
	backward/algo.h backward/algobase.h backward/alloc.h \
	backward/bvector.h backward/defalloc.h backward/deque.h \
	backward/function.h backward/hash_map.h backward/hash_set.h \
	backward/hashtable.h backward/heap.h backward/iterator.h \
	backward/list.h backward/map.h backward/multimap.h \
	backward/multiset.h backward/pair.h \
	backward/rope.h backward/set.h backward/slist.h backward/stack.h \
	backward/tempbuf.h backward/tree.h backward/vector.h \
	ext/ropeimpl.h bits/std_algorithm.h \
	bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
	bits/std_iterator.h bits/std_list.h \
	bits/std_map.h bits/std_memory.h bits/std_numeric.h \
	bits/std_queue.h bits/std_set.h bits/std_stack.h \
	bits/std_stdexcept.h bits/std_vector.h \
	bits/stl_algo.h bits/stl_algobase.h bits/stl_alloc.h \
	ext/stl_bvector.h bits/stl_config.h bits/stl_construct.h \
	bits/stl_deque.h bits/stl_function.h \
	ext/stl_hashtable.h ext/stl_hash_fun.h \
	bits/stl_heap.h bits/stl_iterator.h bits/stl_list.h bits/stl_map.h \
	bits/stl_multimap.h bits/stl_multiset.h bits/stl_numeric.h \
	bits/stl_pair.h bits/stl_queue.h bits/stl_raw_storage_iter.h \
	bits/stl_relops.h ext/stl_rope.h bits/stl_set.h \
	bits/stl_stack.h bits/stl_string_fwd.h bits/stl_tempbuf.h \
	bits/stl_tree.h bits/stl_uninitialized.h bits/stl_vector.h \
	bits/type_traits.h bits/stl_range_errors.h \
	ext/hash_map ext/hash_set ext/rope ext/slist \
	ext/tree ext/bvector \
	shadow/assert.h shadow/ctype.h shadow/errno.h shadow/float.h \
	shadow/libio.h \
	shadow/limits.h shadow/locale.h shadow/math.h shadow/setjmp.h \
	shadow/signal.h shadow/stdarg.h shadow/stddef.h shadow/stdio.h \
	shadow/stdlib.h shadow/string.h shadow/time.h \
	shadow/unistd.h shadow/wchar.h shadow/wctype.h \
	shadow/bits/std_cassert.h shadow/bits/std_cctype.h \
	shadow/bits/std_cerrno.h shadow/bits/std_cfloat.h \
	shadow/bits/std_climits.h shadow/bits/std_clocale.h \
	shadow/bits/std_cmath.h shadow/bits/std_csetjmp.h \
	shadow/bits/std_csignal.h shadow/bits/std_cstdarg.h \
	shadow/bits/std_cstddef.h shadow/bits/std_cstdio.h \
	shadow/bits/std_cstdlib.h shadow/bits/std_cstring.h \
	shadow/bits/std_ctime.h shadow/bits/std_cwchar.h \
	shadow/bits/std_cwctype.h \
	shadow/bits/wrap_libio.h shadow/bits/wrap_unistd.h \
	shadow/sys/cdefs.h


std_headers = \
	algorithm bitset cassert cctype cerrno cfloat climits clocale ciso646 \
	cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib \
	cstring ctime cwchar cwctype deque exception fstream functional \
	iomanip ios iosfwd iostream istream iterator limits list locale \
	map memory new numeric ostream queue set sstream stack stdexcept \
	streambuf string typeinfo utility valarray vector


generated_headers = \
	$(top_builddir)/bits/std_limits.h 


sources = \
	complex.cc complexf.cc complexl.cc \
	stdexcept.cc ios.cc stdstreams.cc \
	locale.cc localename.cc  basic_file.cc \
	locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc \
        stringADDCS.cc stringADDPS.cc stringADDSC.cc stringADDSP.cc \
        stringADDSS.cc stringBIST.cc stringBOST.cc stringCHTR.cc \
	stringEQPS.cc stringEQSP.cc stringEQSS.cc stringEXTRA.cc \
	stringGEPS.cc stringGESP.cc stringGESS.cc stringGETLI.cc \
	stringGTPS.cc stringGTSP.cc stringGTSS.cc stringINSER.cc \
	stringLEPS.cc stringLESP.cc stringLESS.cc stringLTPS.cc \
	stringLTSP.cc stringLTSS.cc stringMAIN.cc stringNEPS.cc \
	stringNESP.cc stringNESS.cc stringSCOPY.cc \
	wstringADDCS.cc wstringADDPS.cc wstringADDSC.cc wstringADDSP.cc \
	wstringADDSS.cc wstringBIST.cc wstringBOST.cc wstringCHTR.cc \
	wstringEQPS.cc wstringEQSP.cc wstringEQSS.cc wstringEXTRA.cc \
	wstringGEPS.cc wstringGESP.cc wstringGESS.cc wstringGETLI.cc \
	wstringGTPS.cc wstringGTSP.cc wstringGTSS.cc wstringINSER.cc \
	wstringLEPS.cc wstringLESP.cc wstringLESS.cc wstringLTPS.cc \
	wstringLTSP.cc wstringLTSS.cc wstringMAIN.cc wstringNEPS.cc \
	wstringNESP.cc wstringNESS.cc wstringSCOPY.cc 


EXTRA_sources = string-inst.cc wstring-inst.cc

generated_sources = $(top_builddir)/src/limitsMEMBERS.cc

libstdc___la_SOURCES = $(generated_sources) $(sources)

libstdc___la_LIBADD = ../math/libmath.la ../string/libstring.la \
		      ../libio/libio.la 


libstdc___la_LDFLAGS = -version-info 3:0:0 -lm

# We need to explicitly tell automake to nuke these files when we make clean.
CLEANFILES = $(generated_sources) $(generated_headers)

myincludepfx = $(DESTDIR)$(includedir)/g++-v3/

# For the generation of std_limits.h, and c++config.h
# If we don't have this explicit VPATH fake-out, poor automake will
# get veeerry veeerry confused, like a little lost bunny, and fail to
# find all the other sources, which are safely locked down in the
# $(top_srcdir) Also, as a hack, have to have limitsMEMBERS.cc listed
# as the first source file, so that std_limits.h will be generated
# before anything else is compiled.
VPATH =  $(top_srcdir) $(top_srcdir)/std $(top_srcdir)/stl $(top_srcdir)/config/solaris $(top_srcdir)/src
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = 
LTLIBRARIES =  $(lib_LTLIBRARIES)


DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
CPPFLAGS = 
LDFLAGS = 
LIBS = 
libstdc___la_DEPENDENCIES =  ../math/libmath.la ../string/libstring.la \
../libio/libio.la
libstdc___la_OBJECTS =  $(top_builddir)/src/limitsMEMBERS.lo complex.lo \
complexf.lo complexl.lo stdexcept.lo ios.lo stdstreams.lo locale.lo \
localename.lo basic_file.lo locale-inst.lo stl-inst.lo misc-inst.lo \
valarray-inst.lo stringADDCS.lo stringADDPS.lo stringADDSC.lo \
stringADDSP.lo stringADDSS.lo stringBIST.lo stringBOST.lo stringCHTR.lo \
stringEQPS.lo stringEQSP.lo stringEQSS.lo stringEXTRA.lo stringGEPS.lo \
stringGESP.lo stringGESS.lo stringGETLI.lo stringGTPS.lo stringGTSP.lo \
stringGTSS.lo stringINSER.lo stringLEPS.lo stringLESP.lo stringLESS.lo \
stringLTPS.lo stringLTSP.lo stringLTSS.lo stringMAIN.lo stringNEPS.lo \
stringNESP.lo stringNESS.lo stringSCOPY.lo wstringADDCS.lo \
wstringADDPS.lo wstringADDSC.lo wstringADDSP.lo wstringADDSS.lo \
wstringBIST.lo wstringBOST.lo wstringCHTR.lo wstringEQPS.lo \
wstringEQSP.lo wstringEQSS.lo wstringEXTRA.lo wstringGEPS.lo \
wstringGESP.lo wstringGESS.lo wstringGETLI.lo wstringGTPS.lo \
wstringGTSP.lo wstringGTSS.lo wstringINSER.lo wstringLEPS.lo \
wstringLESP.lo wstringLESS.lo wstringLTPS.lo wstringLTSP.lo \
wstringLTSS.lo wstringMAIN.lo wstringNEPS.lo wstringNESP.lo \
wstringNESS.lo wstringSCOPY.lo
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
DIST_COMMON =  Makefile.am Makefile.in


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(libstdc___la_SOURCES)
OBJECTS = $(libstdc___la_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .cc .lo .o .s
$(srcdir)/Makefile.in: # Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


mostlyclean-libLTLIBRARIES:

clean-libLTLIBRARIES:
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)

distclean-libLTLIBRARIES:

maintainer-clean-libLTLIBRARIES:

install-libLTLIBRARIES: $(lib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(libdir)
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
	  else :; fi; \
	done

uninstall-libLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
	done

.c.o:
	$(COMPILE) -c $<

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

.c.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
	$(CXXLINK) -rpath $(libdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
.cc.o:
	$(CXXCOMPILE) -c $<
.cc.lo:
	$(LTCXXCOMPILE) -c $<

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am:
check: check-am
installcheck-am:
installcheck: installcheck-am
install-info-am: 
install-info: install-info-am
install-exec-am: install-libLTLIBRARIES
install-exec: install-exec-am

install-data-am:
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLTLIBRARIES
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES)
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libdir)


mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*

maintainer-clean-generic:
mostlyclean-am:  mostlyclean-libLTLIBRARIES mostlyclean-compile \
		mostlyclean-libtool mostlyclean-tags \
		mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-libLTLIBRARIES clean-compile clean-libtool clean-tags \
		clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-libLTLIBRARIES distclean-compile \
		distclean-libtool distclean-tags distclean-generic \
		clean-am
	-rm -f libtool

distclean: distclean-am

maintainer-clean-am:  maintainer-clean-libLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-tags maintainer-clean-generic \
		distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am

.PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
distclean-compile clean-compile maintainer-clean-compile \
mostlyclean-libtool distclean-libtool clean-libtool \
maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
check-am installcheck-am installcheck install-info-am install-info \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


# We cannot use the default rules to install headers since we cannot
# statically decide which headers to install.  So we have our own special
# installation routine here.
install: myinstallheaders

myinstallheaders: $(headers:%=$(myincludepfx)%)
	@for i in $(std_headers); do \
	  echo "$(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludepfx)"; \
	        $(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludepfx); \
	done
	$(INSTALL_DATA) $(top_builddir)/bits/std_limits.h $(myincludepfx)/bits
	$(INSTALL_DATA) $(top_builddir)/bits/c++config.h $(myincludepfx)/bits

$(headers:%=$(myincludepfx)%): $(myincludepfx)%: %
	@$(mkinstalldirs) $(@D)
	@echo " $(INSTALL_DATA) $^ $@"
	@$(INSTALL_DATA) $^ $@

# For the next time we have to handle misc-inst.cc and locale-inst.cc
# in a special way since we cannot instantiate all classes due to
# missing definitions for things like vptrs, type_info bits, etc. when
# using -fno-implicit-templates. 
misc-inst.o: misc-inst.cc
	$(CXXCOMPILE) -fimplicit-templates -c $<
misc-inst.lo: misc-inst.cc
	$(LTCXXCOMPILE) -fimplicit-templates -c $<
locale-inst.o: locale-inst.cc
	$(CXXCOMPILE) -fimplicit-templates -c $<
locale-inst.lo: locale-inst.cc
	$(LTCXXCOMPILE) -fimplicit-templates -c $<

$(generated_sources): $(generated_headers)

$(generated_headers): $(top_srcdir)/mknumeric_limits
	$(SHELL) $(top_srcdir)/mknumeric_limits `pwd`/.. $(top_srcdir)
	@echo timestamp > $(top_builddir)/stamp-limits

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:


More information about the Libstdc++ mailing list