- Package:
- gcc
- Source:
- gcc-defaults
- Description:
- GNU C compiler
- Submitter:
- WHR
- Date:
- 2021-01-17 05:39:03 UTC
- Severity:
- minor
POSIX has option '-O <optlevel>' for c99(1) command, which means 'c99 -O 1 ...' should be exactly same as 'c99 -O1 ...'; however it is not in c99-gcc(1): $ ls -l /etc/alternatives/c99 lrwxrwxrwx 1 root root 16 Sep 14 17:12 /etc/alternatives/c99 -> /usr/bin/c99-gcc $ c99 -O1 hello.c $ c99 -O 1 hello.c gcc: error: 1: No such file or directory See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html