Issue 134056
Summary [Driver] How to specifiy gcc install path on Build Time?
Labels
Assignees
Reporter fioraking
    Hello,guys
    I work on LLVM 20.1.1 version.
    I encountered an issue when compiling Clang onopenEuler 24.03 where the GCC install directory cannot be found (and I don’t want to add the --gcc-install-dir or --config options when running clang, but rather be able to directly compile the program). I Tried GCC_INSTALL_PREFIX and trun on USE_DEPRECATED_GCC_INSTALL_PREFIX, it did’t work, can’t find out gcc install directory.

You know, my triple is "aarch64-unknown-linux-gnu",  but gcc install dir is "/usr/lib/gcc/aarch64-openEuler-linux/12/",  so GCC_ISNTALL_PREFIX doesn't work.

I hope to give users more flexibility in configuring their system.

Now, I change those code:
```
  if (RealTriple.isOSzOS() && loadZOSCustomizationFile(ExpCtx))
    return true;
```
to 
```
  if (loadCustomizationConfigFile(ExpCtx))
    return true;
```

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to