From: Matthew Flatt Date: Fri, 21 Jun 2019 22:53:58 +0000 (-0600) Subject: revise build to avoid `ld` and `nicear` X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa5e156074a0bca3ecc7d9ef0e94aff410adfc52;p=gc revise build to avoid `ld` and `nicear` The Chez Scheme build process now create an archive instead of linking "kernel.o". Adjust the Racket CS build to use archives instead of "kernel.o". Also, modernize the Racket build's use of `ar`. Using the flags `rc` by default (instead of `ruv`) should avoid the need for `nicear`. --- diff --git a/Makefile.in b/Makefile.in index 50e11e9f..0dab202e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -339,7 +339,6 @@ HOSTCFLAGS=$(BASEFLAGS) # CXXFLAGS= $(ALL_CFLAGS) -NICEAR = $(mainsrcdir)/utils/nicear AR= @AR@ ARFLAGS= @ARFLAGS@ RANLIB= @RANLIB@ @@ -503,7 +502,7 @@ tests: # PLTSCHEME: make ../libmzgc.a, and use $(AR), $(RANLIB), and @LIBSFX@: base_lib ../libmzgc.@LIBSFX@: $(OBJS) dyn_load.@LTO@ $(UTILS) - $(NICEAR) $(AR) $(ARFLAGS) ../libmzgc.@LIBSFX@ $(OBJS) dyn_load.@LTO@ + $(AR) $(ARFLAGS) ../libmzgc.@LIBSFX@ $(OBJS) dyn_load.@LTO@ $(RANLIB) ../libmzgc.@LIBSFX@ cords: $(CORD_OBJS) cord/cordtest $(UTILS)