Added an install script to setup the dev environment.

git-svn-id: https://spexeah.com:8443/svn/Asuro@11 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
kieron 2016-10-30 16:03:03 +00:00
parent da322f88f2
commit fa52f90d8a
13 changed files with 94 additions and 1 deletions

Binary file not shown.

View File

@ -21,7 +21,7 @@ echo "======================="
echo " " echo " "
echo "Compiling FPC Sources..." echo "Compiling FPC Sources..."
echo " " echo " "
fpc -Aelf -n -va -O3 -Op3 -Si -Sc -Sg -Xd -CX -XXs -Rintel -Tlinux -FElib/ src/kernel.pas fpc -Aelf -n -va -O3 -Op3 -Si -Sc -Sg -Xd -CX -XXs -Rintel -Pi386 -Tlinux -FElib/ src/kernel.pas
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
echo "Failed to compile FPC Sources!" echo "Failed to compile FPC Sources!"

93
install_dev_env.sh Executable file
View File

@ -0,0 +1,93 @@
#!/bin/sh
ERRCOUNT=0
echo " "
echo "==================================="
echo "== ASURO DEV ENVIRONMENT INSTALL =="
echo "==================================="
echo " "
echo "Installing Build Essentials..."
sudo apt-get install build-essential:i386
if [ $? -ne 0 ]
then
echo "Failed to install!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Success."
fi
echo " "
echo "Installing NASM..."
sudo apt-get install nasm
if [ $? -ne 0 ]
then
echo "Failed to install!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Success."
fi
echo " "
echo "Installing Bin-Utils..."
sudo apt-get install binutils:i386
if [ $? -ne 0 ]
then
echo "Failed to install!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Success."
fi
echo " "
echo "Installing FPC Sources..."
sudo apt-get install fpc-src:i386
if [ $? -ne 0 ]
then
echo "Failed to install!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Success."
fi
echo " "
echo "Installing FPC..."
sudo apt-get install fpc:i386
if [ $? -ne 0 ]
then
echo "Failed to install!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Success."
fi
echo " "
echo "Installing QEmu..."
sudo apt-get install qemu
if [ $? -ne 0 ]
then
echo "Failed to install!"
ERRCOUNT=$((ERRCOUNT+1))
else
echo "Success."
fi
echo " "
echo "WARNING: We assume you already have Grub installed."
echo " Asuro depends on grub-mkrescue."
echo " "
echo "======================="
echo " "
if [ "$ERRCOUNT" -ne "0" ]
then
echo "$ERRCOUNT Errors Occurred, please review."
else
echo "No errors."
fi
echo " "
echo "======================="
echo " "

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.