質問

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