Re: gcc4.1.2 and 4.3.2 has different default behavior

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

 



Thanks Ian,
Very useful information.

Thanks,
yixuan



On Thu, Mar 10, 2011 at 11:52 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
> Yixuan Huang <yixuan178@xxxxxxxxx> writes:
>
>> I can see iostream in that folder. I want to know what my .cpp file
>> include? How can I know for g++ compiler.
>> I tried to use g++ aa.cpp -v, but it can't show the exact header files.
>> I just want to check which exact file include string.h, Just curious on it.
>
> Please reply to the mailing list, not just to me. ÂThanks.
>
> Run g++ --save-temps aa.cpp. ÂIt will create a file aa.ii. ÂThat file
> will list the exact header files included, in a format described in the
> cpp manual.
>
> 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