WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How can I find the version of the compiler that compiled the kernel !?  (Read 3491 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
How can I find the version of the compiler that compiled the kernel !?

( thanks in advance for the answer. )  :)
« Last Edit: December 16, 2020, 12:31:24 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #1 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

Offline Leee

  • Jr. Member
  • **
  • Posts: 84
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #2 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.    :)
core 14.0 x86_64

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #3 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.
The only barriers that can stop you are the ones you create yourself.

Offline Leee

  • Jr. Member
  • **
  • Posts: 84
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #4 on: December 19, 2020, 09:52:13 AM »
 :)
core 14.0 x86_64