I managed to fix simpescalar arm.
A post pointed me in the right direction.
The solution is to delete the if statement for cygwin 32 at the start of eval.c and range.c and place a #include
Also remove the if statement later on in the file that declares extern int errno.