RE: To know the command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lakshman wrote:

> Can you tell me for a command that yoused for compilation gcc
> -pendantic

I'm sorry but I don't understand your question.

If you want to know what -pedantic does: it's described here:

    http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Warning-Options.html

If you want to know how it does it: it turns on more strict syntax checks in
GCC's C parsing code.

If you want an example of something that uses -pedantic: GCC uses it when
building itself. The idea is that you can bootstrap GCC using another ISO C
compiler and so GCC checks that its own C front-end and the back-end conform
strictly to ISO C.

Hope that helped!
Rup.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux