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