Can't get clang running #5952
Unanswered
Trung0246
asked this question in
Getting started
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
Hi, I have tried various env var changes and flag but still can't get clang to compile. Current bash file so far:
Output:
If I tried to run clang with no env var set like
clang-19 -std=gnu2x -g ./main.c -o main
then I got this:clang -v --print-search-dirs
output with no manual env var:brew info gcc
:brew info llvm
:Weirdly gcc still works as I ran
gcc-14 -std=gnu2x -g ./main.c -lm -o main
and it compiles successfully.zig cc
also works with the same set of flag above./home/linuxbrew
is a symlink to the actual/mnt/main/trung/Binary/Program/Linux/linuxbrew
.Did I miss something?
Beta Was this translation helpful? Give feedback.
All reactions