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
configure breaks when cross-compiling #158
Comments
Makes sense. Will look into addressing this and otherwise happy to take patches sooner! |
@jonathan-geisler One thing I forgot to mention: Cross-compilation is usually done today using build profiles. See the Parsing compiler version output is a bit of a PITA given the number of supported compilers, it also becomes a maintenance burden as more compilers are supported, but I'll check for feasibility of it. |
I am not blocked because I was able to make this change to the code:
The |
I am not sure you need to parse compiler output. |
The configure script tries to build a program that it can execute to determine the compiler version being used. This does not work properly when cross-compiling because the executable cannot run on the host machine. There needs to be a way to provide this information when cross compiling so that this step can be avoided. Maybe do something like
${CC} --version
and parse the output there since the compiler must execute on the host?The text was updated successfully, but these errors were encountered: