Is there a smaller download for GCC if the only language you need to be compiled is C? TCC is a fantastic option for windows, however I need it to compile on several platforms. I also like the fact that GCC is very commonly used.

If there is not a specific download that is smaller, would I be able to weed out the data in the downloaded package that is not needed to compile C? Would there be issues to this approach?

有帮助吗?

解决方案

When you build GCC, you must first configure it.

Specifying --enable-languages=c will constrain your build to only the C language.

There are many other options that allow you to tailor GCC to your needs.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top