GCC errors with common flags aka -g, -ansi, -Wall
I have the latest GCC + Build Essentials package installed, and verified that gcc -v does output. Also, I have done essentially the same installation on two computers. On one, gcc works fine. On the other, any flags added to gcc command is producing errors:
Useless example w/ no reported errors: gcc test.c gcc test.c -g -Wall -o test -g: No file or directory found -Wall: No file or directory found (etc.) I've tried several things and searched the forums and can't seem to find something specific to this error. Thanks. PS, I'm sure that my simple hello world program is only C code and compilable since it operates fine on the other machine. |
Quote:
BTW: What kind of system are you on? (Linux distro version?) What version of gcc is it? |
Quote:
|
All times are GMT -5. The time now is 06:19 AM. |