Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
carterehsmith
· 6y ago · 0 comments
Is there a better way? Can we make gcc with less options, while still catering to all the use cases.
Comments
[–]
Paul-ish
6y ago
That might not be possible. What if instead we created a configuration tool that intelligently passed the correct options for you.
[–]
carterehsmith
OP
6y ago
Could that tool magically reduce the number of options? That would be quite a tool.
[–]
bentcorner
6y ago
You could subdivide what gcc does into other utilities each with a smaller api.
[–]
TeMPOraL
6y ago
This way lies Node.js. You'll end up with a complex config file just to orchestrate all these smaller utilities.
[–]
Paul-ish
6y ago
Yes. We will call it autotools.
[–]
pornel
6y ago
For some things, yes. For example, Rust manages warnings from the source code (-Wfoo is #[warn(foo)], and it's scoped!)
[–]
Camas
6y ago
Too late now. Once they exist there's someone that depends on them.