As per the instructions on the download page, I downloaded ATS2 via the tar file and attempted to build it in Cygwin. The Makefile threw an error about a missing separator on line 1 (which is apparently not an uncommon error?) and converting it between ANSI and UTF-8 didn't solve that, so I bypassed it and attempted to build with Makefile_dist, since the Makefile was simply a reference to it.
I am currently getting this error:
make[2]: Entering directory '/home/mattc/ATS2-Postiats/utils/atscc/BUILD'
rm -f *~
rm -f *_?ats.o
rm -f *_?ats.c
"/home/mattc/ATS2-Postiats"/bin/patsopt --output patscc_dats.c --dynamic patscc.dats
/home/mattc/ATS2-Postiats/share/atspre_staload.hats: 1(line=1, offs=1) -- 5(line=1, offs=5): error(parsing): the token is discarded.
exit(ATS): uncaught exception: _2home_2hwxi_2Research_2ATS_2dPostiats_2src_2pats_error_2esats__FatalErrorExn(1025)
make[2]: *** [../Makefile_build:38: patscc_dats.c] Error 1
make[2]: Leaving directory '/home/mattc/ATS2-Postiats/utils/atscc/BUILD'
make[1]: *** [Makefile:18: build] Error 2
make[1]: Leaving directory '/home/mattc/ATS2-Postiats/utils/atscc'
make: *** [Makefile_dist:88: utl_atscc] Error 2
I am unsure of what that means or how to solve it, as I have yet to work with ATS2 at all and documentation seems to be limited. I know that others have successfully built ATS2 in Cygwin, so I am confused as to what I am doing wrong.
Any help is appreciated. Thanks in advance!