Manjaro : Gcc or clang?

Excuse me! Is Manjaro compiled with gcc or clang? Thank you!

It’s gcc.

1 Like

Ok! Thanks! Is there a way to check this?

In the gitlab repo for the various kernels you can see in the config file

Or when you do

ls -l /usr/bin/cc                                                                                                                                                                                
lrwxrwxrwx 1 root root 3 Aug  2 02:06 /usr/bin/cc -> gcc

I guess the kernel could be compiled using either one and this value set as the other (maybe? Someone please correct me if I am mistaken), but that would seem strange to do.

Another place is

cat /proc/version                                                                                                                                                                               
Linux version 6.6.3-1-MANJARO (builduser@fv-az1202-264) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Tue Nov 28 20:37:45 UTC 2023

In that string it says gcc

1 Like

Good! Thanks a lot! :wink:

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.