Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: xor on December 16, 2020, 12:26:44 AM

Title: How can I find the version of the compiler that compiled the kernel !?
Post by: xor on December 16, 2020, 12:26:44 AM
How can I find the version of the compiler that compiled the kernel !?

( thanks in advance for the answer. )  :)
Title: Re: How can I find the version of the compiler that compiled the kernel !?
Post by: Juanito on December 16, 2020, 01:11:15 AM
Code: [Select]
$ cat /proc/version
Linux version 5.4.3-tinycore64 (tc@box) (gcc version 9.2.0 (GCC)) #2020 SMP Tue Dec 17 17:38:30 UTC 2019
Title: Re: How can I find the version of the compiler that compiled the kernel !?
Post by: Leee on December 17, 2020, 09:33:50 AM
@ Juanito - Do you know what is the significance of the  number ("2020") right after the pound sign in /proc/version ?

Trying this out to just now, I initially thought, "That's nice, I'm using a kernel that was compiled today.... Hmmmm...", before catching the "2019" at the end of the date string.    :)
Title: Re: How can I find the version of the compiler that compiled the kernel !?
Post by: curaga on December 17, 2020, 11:51:04 PM
That's the build version number. I usually put whatever fun number I feel like at the time.
Title: Re: How can I find the version of the compiler that compiled the kernel !?
Post by: Leee on December 19, 2020, 09:52:13 AM
 :)