Re: cgcc and REAL_CC help

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

 



On Fri, Dec 18, 2009 at 9:14 AM, rubisher <rubisher@xxxxxxxxxx> wrote:
> That said, my next issue is that "-E" which is disable by cgcc:
> [snip]
>    # If someone adds "-E", don't pre-process twice.
>    $do_compile = 0 if $_ eq '-E';
> [snip]
>
> If ever some of you knows why, I would be interested in?

My guess is that, both gcc and sparse pre-process print to stdout.
So allow them both pre-process will mess up the result.

The current cgcc chose to let sparse do the pre-process and don't
run the real cc. You can make the gcc does the real pro-process and
sparse just check though.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux