]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/MAI/bios_emulator/scitech/bin/build
* Patch by Thomas Frieden, 13 Nov 2002:
[karo-tx-uboot.git] / board / MAI / bios_emulator / scitech / bin / build
1 #! /bin/sh
2
3 if [ $# -lt 1 ] || ( [ "$1" != gcc-linux ] && [ "$1" != qnx4 ] ) ; then
4         echo Usage: $0 compiler_name [DMAKE commands]
5         echo
6         echo Current compilers:
7         echo "  gcc-linux  - GNU C/C++ 2.7 or higher, 32 bit"
8         echo "  qnx4  - Watcom C/C++ 10.6 or higher, 32 bit"
9         exit 1
10 fi
11
12 unset DBG OPT OPT_SIZE BUILD_DLL IMPORT_DLL FPU CHECKS BETA
13 . ${1}.sh
14
15 shift
16 dmake $* && exit 0
17
18 echo *************************************************
19 echo * An error occurred while building the library. *
20 echo *************************************************
21 exit 1
22