scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

config (307B)


      1 #!/bin/sh
      2 
      3 case `uname` in
      4 OpenBSD)
      5 	echo TOOL=${TOOL:-clang} HOST=bsd ARFLAGS=${ARFLAGS:--rv}
      6 	;;
      7 NetBSD)
      8 	#TODO: send a patch to NetBSD to solve this problem
      9 	echo HOST=bsd ARFLAGS=${ARFLAGS:--rv}
     10 	;;
     11 *BSD)
     12 	echo HOST=bsd
     13 	;;
     14 Linux)
     15 	echo TOOL=${TOOL:-gnu} HOST=linux
     16 	;;
     17 Plan9)
     18 	echo HOST=plan9
     19 	;;
     20 esac