cc vs gcc comparison
| cc | gcc | |
| Full Name | C Compiler | GNU Compiler Collection |
| Developer | AT&T's Bell Labs | Free Software Foundation |
| Supported Languages | Primarily C | C, C++, Objective-C, Fortran, Ada, Go, and D |
| Optimization | Basic optimization | Advanced options like -O2, -O3, etc. |
| Error Reports | Basic error reporting | Detailed warnings and errors |
| Platform | Mainly Unix and Unix-like systems | Cross-platform (Windows, Linux, Mac OS X, etc.) |
| Debug Info | Generates debug info | More detailed debug info with -g option |
| Linker | Uses default system linker | Can use GNU ld or other linkers |