aboutsummaryrefslogtreecommitdiff
path: root/board/MAI/bios_emulator/scitech/bin/gcc-linux.sh
blob: 27a4c49065287066fb88bd272350fad89270ae03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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