[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] linux kernel hackers guide.



On 23 Sep 1999 psadhukhan@xxxxxxxxxxx wrote:

> Also while going through the source I came accross preprocessor
> directives and things like __GNUC__, where do i get the docs for
> these. I saw man gcc it is not there.


Predefined symbols and preprocessor directives can be checked with passing
options -v -E to gcc. For example -D__GNUC__=2 (the major version number)
of gcc. Write a small Hello world! program and compile it with -v -E to
see all predefined symbols.


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------