Re: gcc command line from inside c source

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

 



"massimiliano cialdi" <cialdi@xxxxxxxxx> writes:

> On Tue, Oct 21, 2008 at 4:18 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>>> at the beginning of .lst there are some infos like these:
>>> is it possible to access these infos from inside .c source file (maybe
>>> with a predefined macro)?
>> No.  Sorry.
>>
>> You can test for some very simple things.  E.g., __OPTIMIZE__ is
>> defined if -O was used.
> ok,
> where can I find a list of these predefined macros, to find out if
> there are others that can be useful for me?

http://gcc.gnu.org/onlinedocs/gcc-4.3.2/cpp/Predefined-Macros.html

Ian

[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