Query on GCC command options size limit

Luo Xinsheng SGH ADWA4 xinsheng.luo@zf.com
Tue Aug 31 06:42:33 GMT 2021


Dear sir:

Now I am using GCC to compile a series .c file with a huge directory to search for header files.

I find on GCC command options, there seems to be the size limit on provided options.
>From my test on GCC version 4.8.5, the options length which I can provide seems to be limited at 12000 characters.

Can you share the size limit of GCC command options?



Best Regards
----------------------------------------------------
Martin


More information about the Gcc-help mailing list