This is some weird stuff. I found a whole bunch of system files with lots of garbage. This would affect compiling programs, which could explain why the compiler's been weird all along. Compiler said:
/usr/include/mach/exception_types.h:61:39: invalid suffix "s" on integer constant
/usr/include/mach/exception_types.h:61: error: stray '\10' in program
/usr/include/mach/exception_types.h:61:47: invalid suffix "R" on integer constant
/usr/include/mach/exception_types.h:61: error: stray '\352' in program
Meanwhile inside exception_types.h:
z W @ ÜìÑôôifilÜìÇ