Annotation of researchv10no/cmd/lcc/gen0/run, revision 1.1

1.1     ! root        1: #!/bin/sh
        !             2: # ../run target os test
        !             3: 
        !             4: # set -x
        !             5: target=$1 os=$2 test=$3
        !             6: 
        !             7: cd tst
        !             8: if [ ! -r "../../../include/${target}_$os" ]; then
        !             9:        echo 2>&1 $0: unknown target-system combination '"'$target-$os'"'
        !            10: fi
        !            11: 
        !            12: echo $target-$os $test: 1>&2
        !            13: cc -E -I../../../include/${target}_$os ../../../tst/$test.c | ../rcc - $test.s 2>$test.2
        !            14: diff ../../../tst/$test.2 $test.2
        !            15: if [ ! -r $test.s.bak ]; then
        !            16:        mv $test.s $test.s.bak
        !            17:        cp $test.s.bak $test.s
        !            18: else diff $test.s.bak $test.s
        !            19: fi
        !            20: exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.