X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=make-config.sh;h=f26c251567a4ea2f83be81ea0191415caeeadf54;hb=c8cc0137e55e6179f6af344f42e54f514660f68b;hp=e71a786fc32daf10f24fc4538ae3fe3df2e8de58;hpb=d543ff4caaabda2f33ce7b5a723013db06aa5c9d;p=sbcl.git diff --git a/make-config.sh b/make-config.sh index e71a786..f26c251 100644 --- a/make-config.sh +++ b/make-config.sh @@ -129,6 +129,10 @@ case `uname` in sbcl_os="openbsd" ln -s Config.$sbcl_arch-openbsd Config ;; + NetBSD) + printf ' :netbsd' >> $ltf + ln -s Config.$sbcl_arch-netbsd Config + ;; *) echo unsupported BSD variant: `uname` exit 1 @@ -186,11 +190,17 @@ elif [ "$sbcl_arch" = "ppc" -a "$sbcl_os" = "darwin" ]; then echo "See the limit(1) or ulimit(1) commands and the README file." exit 1 fi +elif [ "$sbcl_arch" = "sparc" ]; then + # Test the compiler in order to see if we are building on Sun + # toolchain as opposed to GNU binutils, and write the appropriate + # FUNCDEF macro for assembler. No harm in running this on sparc-linux + # as well. + sh tools-for-build/sparc-funcdef.sh > src/runtime/sparc-funcdef.h else # Nothing need be done in this case, but sh syntax wants a placeholder. echo > /dev/null fi - + echo //finishing $ltf echo ')' >> $ltf