summaryrefslogtreecommitdiff
path: root/board/MAI/bios_emulator/scitech/bin/gcc-linux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/MAI/bios_emulator/scitech/bin/gcc-linux.sh')
-rwxr-xr-xboard/MAI/bios_emulator/scitech/bin/gcc-linux.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/board/MAI/bios_emulator/scitech/bin/gcc-linux.sh b/board/MAI/bios_emulator/scitech/bin/gcc-linux.sh
new file mode 100755
index 0000000..27a4c49
--- /dev/null
+++ b/board/MAI/bios_emulator/scitech/bin/gcc-linux.sh
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# Setup for compiling with GCC/G++ for Linux
+
+if [ "$CHECKED" = "1" ]; then
+ echo Checked debug build enabled.
+else
+ echo Release build enabled.
+fi
+
+export MAKESTARTUP=$SCITECH/makedefs/gcc_linux.mk
+export INCLUDE="include;$SCITECH/include;$PRIVATE/include"
+export USE_LINUX=1
+
+if [ "x$LIBC" = x ]; then
+ echo "GCC Linux console compilation environment set up (glib)"
+else
+ echo "GCC Linux console compilation environment set up (libc5)"
+fi