|
|
Log in / Subscribe / Register

Replacing AWK with Python in GCC?

Replacing AWK with Python in GCC?

Posted Jul 25, 2018 21:35 UTC (Wed) by david.a.wheeler (subscriber, #72896)
In reply to: Replacing AWK with Python in GCC? by nirbheek
Parent article: Replacing AWK with Python in GCC?

Just fixing something probably wouldn't have raised any issues.

However, this is proposing a major new dependency in a key component. That's a big decision, and worth discussing first.


to post comments

Replacing AWK with Python in GCC?

Posted Jul 25, 2018 23:12 UTC (Wed) by jhoblitt (subscriber, #77733) [Link]

As gcc is so fundamental during bootstraping, I also agree that introducing a dep on python 3 is likely raise problems on many platforms.

I am completely ignorant as to the gcc build process but is it possible for `optionlist` to be pre-computed and perhaps even included in the release tarballs? Is the .opt format so complicated that a small c/c++ parser couldn't be included as part of the build?


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds