1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-10 02:00:17 +00:00
Files
Interlisp.maiko/bin/machinetype
Gunter Mueller d07540cbb1 Add support for compiling on Raspberry Pi4 (armv7l architecture) running Linux
Author:    Gunter Mueller <gunter.mueller@gmail.com>
Signed-off-by: Nick Briggs <nicholas.h.briggs@gmail.com>

	modified:   .gitignore
	modified:   bin/machinetype
	new file:   bin/makefile-linux.armv7l-x
2020-08-19 13:28:34 -07:00

28 lines
729 B
Bash
Executable File

#!/bin/sh
#########################################################################
# #
# M A C H I N E T Y P E #
# #
# Compute the hardware architecture we're running on. #
# #
# (C) Copyright 2001 Venue. All Rights Reserved #
# #
#########################################################################
os=`./config.guess`
# o/s switch block
case "$os" in
sparc-*) echo sparc ;;
alpha-*) echo alpha ;;
i*86-*-*) echo 386 ;;
armv7l-*-*) echo armv7l ;;
x86_64-apple-darwin15*) echo 386 ;;
x86_64-*) echo x86_64 ;;
powerpc-*) echo ppc ;;
esac
### Don't leave the variables set.
unset os