Re: Location of symbol definition

James Hamilton <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <CA+GRqLYUH5ui9gXBQFAhNb4bu8wAhuuPaHXEBxyon6kHC1ymPQ@mail.gmail.com>
That particular #define is one of many that is set by the compiler.  That
one is based on the architecture you selected in the "-mmcu" option to GCC.

In GCC, you can see all of the macros defined by using the "-dM -E"
options.  For example, this will show you everything the compiler is adding
before it even looks at your source:

avr-gcc -mmcu=atmega168 -dM -E - < /dev/null

Hope this helps!

~James

_______________________________________________
AVR-GCC-list mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.