spasmous said:
Can someone point me to a website that lists the compiler flags for the
Linux c++ compiler. Yes, I know it's called c++ but I am using it to
compile .c files.
<OT>
The usual default compiler on Linux is gcc (it's actually a collection
of compilers for several languages, with a shared backend). There's a
command called "g++" that invokes it as a C compiler. Typically "cc"
and "c++" are installed as aliases for "gcc" and "g++", respectively.
If you want to compile C code, use a C compiler: either "gcc" or "cc",
not "g++", or "c++".
All this is explained in gcc documentation, which you can see by
typing "info gcc" or by doing a Google search for "gcc documentation".
</OT>
If you have any more questions about gcc (that aren't answered by the
documentation), try gnu.gcc.help. If you have questions about Linux,
try one of the many Linux newsgroups, or perhaps comp.unix.programmer.
If you have questions about the C language itself, this is the right
place.