build 553 B

12345678910111213141516171819202122
  1. #! /bin/sh
  2. if [ $# -lt 1 ] || ( [ "$1" != gcc-linux ] && [ "$1" != qnx4 ] ) ; then
  3. echo Usage: $0 compiler_name [DMAKE commands]
  4. echo
  5. echo Current compilers:
  6. echo " gcc-linux - GNU C/C++ 2.7 or higher, 32 bit"
  7. echo " qnx4 - Watcom C/C++ 10.6 or higher, 32 bit"
  8. exit 1
  9. fi
  10. unset DBG OPT OPT_SIZE BUILD_DLL IMPORT_DLL FPU CHECKS BETA
  11. . ${1}.sh
  12. shift
  13. dmake $* && exit 0
  14. echo *************************************************
  15. echo * An error occurred while building the library. *
  16. echo *************************************************
  17. exit 1