ppc) guessed_sbcl_arch=ppc ;;
Power*Macintosh) guessed_sbcl_arch=ppc ;;
parisc) guessed_sbcl_arch=hppa ;;
- mips) guessed_sbcl_arch=mips ;;
+ mips*) guessed_sbcl_arch=mips ;;
*)
# If we're not building on a supported target architecture, we
# we have no guess, but it's not an error yet, since maybe
ln -s $sbcl_arch-lispregs.h target-lispregs.h
case `uname` in
Linux)
+ printf ' :elf' >> $ltf
printf ' :linux' >> $ltf
sbcl_os="linux"
- if [ $sbcl_arch = "x86-64" ]; then
- ln -s Config.x86_64-linux Config
- else
- ln -s Config.$sbcl_arch-linux Config
- fi
+ if [ $sbcl_arch = "x86-64" ]; then
+ ln -s Config.x86_64-linux Config
+ else
+ ln -s Config.$sbcl_arch-linux Config
+ fi
ln -s $sbcl_arch-linux-os.h target-arch-os.h
ln -s linux-os.h target-os.h
;;
# it's changed name twice since it was called OSF/1: clearly
# the marketers forgot to tell the engineers about Digital Unix
# _or_ OSF/1 ...
+ printf ' :elf' >> $ltf
printf ' :osf1' >> $ltf
sbcl_os="osf1"
ln -s Config.$sbcl_arch-osf1 Config
ln -s bsd-os.h target-os.h
case `uname` in
FreeBSD)
+ printf ' :elf' >> $ltf
printf ' :freebsd' >> $ltf
sbcl_os="freebsd"
ln -s Config.$sbcl_arch-freebsd Config
;;
OpenBSD)
+ printf ' :elf' >> $ltf
printf ' :openbsd' >> $ltf
sbcl_os="openbsd"
ln -s Config.$sbcl_arch-openbsd Config
;;
NetBSD)
printf ' :netbsd' >> $ltf
+ printf ' :elf' >> $ltf
sbcl_os="netbsd"
ln -s Config.$sbcl_arch-netbsd Config
;;
esac
;;
Darwin)
+ printf ' :mach-o' >> $ltf
printf ' :bsd' >> $ltf
sbcl_os="darwin"
ln -s $sbcl_arch-darwin-os.h target-arch-os.h
ln -s Config.$sbcl_arch-darwin Config
;;
SunOS)
+ printf ' :elf' >> $ltf
printf ' :sunos' >> $ltf
sbcl_os="sunos"
ln -s Config.$sbcl_arch-sunos Config