mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-13 17:48:10 +08:00
more
This commit is contained in:
24
env-gcc-8.3.sh
Executable file
24
env-gcc-8.3.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Look for GCC-8.3
|
||||
x=`which gcc-8.3 2>/dev/null`
|
||||
if [ -n "$x" ]; then
|
||||
gdir=`dirname $x`
|
||||
elif [ -f "/usr/gcc-8.3/bin/gcc" ]; then
|
||||
gdir="/usr/gcc-8.3/bin"
|
||||
else
|
||||
echo Cannot find GCC 8.3
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo GCC is in $gdir
|
||||
|
||||
export CC="$gdir/gcc"
|
||||
export CPP="$gdir/cpp"
|
||||
export CXX="$gdir/g++"
|
||||
export PATH="$gdir:$PATH"
|
||||
|
||||
echo Starting subshell. Type exit to exit.
|
||||
|
||||
$SHELL
|
||||
|
Reference in New Issue
Block a user