Problem
gcc 2.95.3 fails to compile any program on OpenServer 5.0.6. Any compilation attempt using this new gcc, stored in /usr/gnu/bin, fails with the following:
# gcc myprog.c
/bin/ld: ERROR: Illegal option -- ENo object files or executables get created.
Cause
The gcc 2.95.3 linker relies on the updated execution environment supplement (OSS646B or later), and updated Graphics, Web and X11 Libraries as described in the readme.
Solution
Install the latest version of oss646 and the latest version of gwxlibs to address this problem.