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

Remove parameter of gcc: -V, -qversion #100

Closed
wants to merge 1 commit into from

Conversation

PotatoChipking
Copy link

Error log when compiling gcc with make:

  • gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
  • configure:5203: $? = 0
  • configure:5192: g++ -V >&5
  • g++: error: unrecognized command line option '-V'
  • g++: fatal error: no input files
  • g++: fatal error: no input files
  • configure:5203: $? = 1
  • configure:5192: g++ -qversion >&5
  • g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
  • g++: fatal error: no input files

Compilation fails because gcc/g++ doesn't support “-V”, “-qversion” as arguments, compiles successfully after removing them in configure.

@Xanderplayz16
Copy link

This isn't the upstream GCC repository, you have to commit there. See https://gcc.gnu.org/contribute.html .

@jwakely
Copy link
Contributor

jwakely commented Jun 25, 2024

And this isn't a problem anyway - the configure script tries lots of commands and options to check what works. It's supposed to contain errors. They are a normal part of the build process.

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