Support building on RHEL 8.X#157
Conversation
|
Hello, @earnol. Thanks for your contribution to clang-extract! Is it true that in in RHEL the file which outputs: from there, running I think this is much simpler than attempting many paths and trying to parse which is the correct one. |
|
Hello @giulianobelinassi, Well this tool helped me to reduce the particularly large file when c-reduce failed (it did not failed particularly, but i would say it was tricky to use correctly in my situation). So it is logical to have changes i made to adapt to my environment integrated into the upstream. COLLECT_LTO_WRAPPER/../ has only 1 folder 13.3.0 and nothing more. The actual crtbegin.o is located in That is why your build file generate wrong path. Your idea of compilation is good: Which is a correct path. Do you want me to update my pull request with this method? |
Those changes add support for building on RHEL 8.X while preserving compatibility with other build environments. Adds: - More advanced support for outside-of-system gcc installation - Links with proper runtime in case of gcc installation used for building is different from the system default one.
|
Hello, @earnol
If you have any feature request that helps you in your use case, please open an issue about, so we can improve :)
Ah, so you have a custom-built gcc installed in your system.
I see no point in creating the simple_program.c.in file in the project itself since it can be fully generated by the build environment. The command: is supported even back to the MS-DOS era. So instead of: you can simply generate the |
|
The problem is the code is not cross platform and meson does not support redirection in the run_command. |
|
Okay, I will approve it then. Thanks for your contribution! |
Those changes add support for building on RHEL 8.X while preserving compatibility with other build environments.
Adds: