Re: [PATCH] Add -gcc-version option

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

 



On Wed, Jul 19, 2017 at 1:27 PM, Pavel Roskin <plroskin@xxxxxxxxx> wrote:
>
> I did not realize that sparse supports -include. It turns out it does,
> which is even better than specifying three defines.
>
> I don't see any references to -D or -include in the sparse manual
> page. I think they should be documented.

It is kind of expected due to usage of cgcc. cgcc expect to be run like
gcc but with one extra step of sparse check checking on it. In order to
duplicate the gcc behavior on macro, sparse will need to  accept most
of the gcc preprocessor command line options.

As for the document, patch are welcome :-)

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