X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=7000fccb223d200cc90a18a168397250152a231d;hb=b05ccdd91520249de6b465e226d3708089e541dc;hp=68972cb18d2be9e0367714a310adeebb426994dd;hpb=68fd2d2dd6f265669a8957accd8a33e62786a97e;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index 68972cb..7000fcc 100644 --- a/make-config.sh +++ b/make-config.sh @@ -50,6 +50,19 @@ if [ "$sbcl_arch" = "" ] ; then exit 1 fi echo -n ":$sbcl_arch" >> $ltf +# KLUDGE: currently the x86 only works with the generational garbage +# collector (indicated by the presence of :gencgc in *features*) and +# alpha, sparc and ppc with the stop'n'copy collector (indicated by +# the absence of :gencgc in *features*). This isn't a great +# separation, but for now, rather than have :gencgc in +# base-target-features.lisp-expr, we add it into local-target-features +# if we're building for x86. -- CSR, 2002-02-21 Then we do something +# similar with :STACK-GROWS-FOOWARD, too. -- WHN 2002-03-03 +if [ "$sbcl_arch" = "x86" ] ; then + echo -n ' :gencgc :stack-grows-downward' >> $ltf +else + echo -n ' :stack-grows-upward' >> $ltf +fi for d in src/compiler src/assembly; do echo //setting up symlink $d/target original_dir=`pwd`