sctl has nascent support for windows. building on windows (visual studio) ----------------------------------- 0. the default configuration is for 64-bit windows. if you want a 32-bit build, then in Makefile.win: - on line 2 remove the -DX86_64 - on line 20(ish) replace win\x86-64.c\ with win\x86-32.c\ 1. get into the studio command prompt, or otherwise some environment with command line access to the compiler 2. cd 3. nmake /a /f Makefile.win this builds sctl.exe from scratch. note that the "clean" target does not work. a windows demo -------------- we have a demo of sctl being driven by L1. the target program is in test to build it: cd test cl list.c to run it: list.exe its output includes the addresses of two symbols, insert and head. the l1 script is l1/demo/tracelist_win.cqct it runs the same workload as tracelist.cqct does for unix. make sure the addresses for insert and head match those printed by list. to run the demo on the windows side, in the sctl directory: sctl -p 30000 on the L1 side, in the l1/demo directory: ../l1 ./tracelist_win.cqct :30000 1 10 where is the ip address of the windows machine. of course the 30000 can be any valid port number. the expected output is % ../l1 ./tracelist_win.cqct 192.168.183.131:30000 1 10 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 6 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 the second tracelist test should also work: % ../l1 ./tracelist_win.cqct 192.168.183.131:30000 2 10 0 1 1 2 2 2 3 3 3 3 4 4 4 4 4 5 5 5 5 5 5 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 8