pike.git / NT / tools / rntcc

version» Context lines:

pike.git/NT/tools/rntcc:6:      OPTS=""   CFLAGS=""   SOURCES=""   OBJECTS=""   OUTPUT=a.out   OPERATION=linking   INCLUDE_PATH=   LDOPTS="OPTION STACK=8m"   LIBRARIES="" + NTCC=wcc386      DEBUG=no   OPTIMIZE=no      check_linker_error() {    ERROR=ok    sed -e 's/\\/\\\\/g' | while read line    do    echo "$line" >&2    case "x$line" in
pike.git/NT/tools/rntcc:131:   CFLAGS="$CFLAGS -bm -zq -hw -fr$ERRORFILE"      if [ "x$OUTPUT" != x ]; then    OFLAGS="$OFLAGS -fo$OUTPUT"   else    OFLAGS=   fi      case $OPERATION in    compiling) -  do_cmd wcc386 $CFLAGS $OFLAGS `fixpath $SOURCES $OBJECTS` +  do_cmd $NTCC $CFLAGS $OFLAGS `fixpath $SOURCES $OBJECTS`    TARGET=$OUTPUT    ;;       preprocessing) -  do_cmd wcc386 -p $CFLAGS `fixpath $SOURCES` +  do_cmd $NTCC -p $CFLAGS `fixpath $SOURCES`    ;;       linking)    for a in `fixpath $SOURCES`    do    BASE=`echo $a | sed -e 's/\.c//'` -  do_cmd wcc386 -i$IPATH $CFLAGS -fo=$BASE.obj $a +  do_cmd $NTCC -i$IPATH $CFLAGS -fo=$BASE.obj $a    OBJECTS="$OBJECTS $BASE.obj"    done       LDFILE=TMP$$.lk    echo "name $OUTPUT.exe $LDOPTS FIL `fixpath $OBJECTS | sed -e 's/ /,/g'` $LIBRARIES" >$LDFILE    OK=`do_cmd wlink @$LDFILE | check_linker_error`    if [ x$OK != xok ]; then    exit 1    fi    TARGET=$OUTPUT.exe