GCC, G++, etc. should print a warning message that they are running on a SCO operating system. This warning should be enabled by default on SCO operating systems and could be disabled with -Wsco-sucks or some similar option.
Read README.SCO and go away.