Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cryptic gcc errors when building #106

Open
dasshiva opened this issue Mar 10, 2025 · 0 comments
Open

Cryptic gcc errors when building #106

dasshiva opened this issue Mar 10, 2025 · 0 comments

Comments

@dasshiva
Copy link

dasshiva commented Mar 10, 2025

This is an error which one might encounter when building gcc in the beginning

gcc: error: gengtype-lex.c: No such file or directory

As such this error makes no sense unless you really know that this is gcc telling you it could not generate its lexer.

This error is caused if your host system (the system you are compiling this on) is missing the flex program that provides the programs
flex and lex.

You may encounter other errors too if you use any other older version of gcc.
Although not every such error is unknown this link can guide you to fix some of the errors.

This issue is meant to be of help to anyone who may have forgotten to install the prerequisites to build gcc and/or has gotten stuck building gcc due to some error and can't make sense of the error message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant