/me needs some advice.
I'm choosing a good C compiler.
I want a C compiler that is lightweight and compatible with many things (many libs, versions of C, etc).
I saw gcc depends on alot of dependencies (not lightweight), but perhaps it has many libs and can support many things (many versions of C).
I saw tcc depends on nothing, but perhaps it has fewer libs and support fewer things (not many versions of C).
I don't know,... what's good?
gcc is the standard, tcc is focused on speed and simplicity.
I'm not sure how active is tcc's upstream: http://bellard.org/tcc/
I'd definitely go with gcc.
'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
yes thank you for your reply.
About Clang, It depends on gcc which includes gcc dependencies.
On wikipedia Clang states that it is a replacement for gnu c compiler. So it shouldnt depend on gcc.
If clang didnt depend on gcc.. it would have had less deps.
so whats going on?
It's hard to give simple advice here, as you have all the information you need to decide. I'd try building a few complicated packages with both and see for myself. You could have gone for a goodle query like "gcc tcc comparison", then you would have found an article on phoronix, comparing many different compilers. The article is from 2011, but tendencies should have been visible back then.