Re: COLLECT_GCC_OPTIONS help

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

 



Thank you for your response.

I'll look into gcc/gcc.c, as you recommend - but does this break cpp?  For example, the -nostdinc and -U options?



 
http://www.creative-telcom-solutions.de



----- Original Message -----
From: Chung-Ju Wu <jasonwucj@xxxxxxxxx>
To: Charles Smith <cts.private@xxxxxxxxx>
Cc: "gcc-help@xxxxxxxxxxx" <gcc-help@xxxxxxxxxxx>
Sent: Monday, May 13, 2013 8:33 AM
Subject: Re: COLLECT_GCC_OPTIONS help

2013/5/11 Charles Smith <cts.private@xxxxxxxxx>:
>
>
> Does anyone know who creates COLLECT_GCC_OPTIONS and how I can influence it?
>
> I'm using cpp to expand some c code for data-mining, and it magically finds some header files I don't want it to.   When I run cpp with the -v
> option it's clear why - that variable has the information in it.
>
> But it's not in my environment, and that symbol, COLLECT_GCC_OPTIONS, is
> not in the /usr/bin/cpp executable.  I do find it in the binary files in /usr/lib/gcc, but the gcc.gnu.org online manual's keyword index doesn't mention COLLECT_GCC_OPTIONS and I don't find a way to search it.
> There's no information to be found in google about who creates
> COLLECT_GCC_OPTIONS or why.
>
> So any clue will be greatly appreciated.
>

COLLECT_GCC_OPTIONS is created by gcc driver itself,
and then destroyed when its jobs have been done.

You can refer to gcc/gcc.c, set_collect_gcc_options() implementation.


Best regards,
jasonwucj






[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