On Fri, 11 Oct 2024 at 17:02, Dennis Luehring via Gcc <gcc@gcc.gnu.org>
wrote:

> latest SUSE Tumbleweed/gcc 14.2
>
> c99 -O2 test.c
>
> returns:
> c99: invalid option -- '2'
>
> cc -O2 test.c
>
> returns successfull
>
>
> according to https://linux.die.net/man/1/c99 the -O2 option should work
> c99 is used in an older build system and that didn't work due to the -O2
> problem
>
>
The c99 executable is provided by your distro, it's not part of GCC.

Maybe it wants a space between the -O and 2, but I don't know.

Reply via email to