WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline xor

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

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

Offline Juanito

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

  • Full Member
  • ***
  • Posts: 119
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #2 on: December 17, 2020, 12:33:50 PM »
@ 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 15.0 x86_64

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11041
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #3 on: December 18, 2020, 02:51:04 AM »
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

  • Full Member
  • ***
  • Posts: 119
Re: How can I find the version of the compiler that compiled the kernel !?
« Reply #4 on: December 19, 2020, 12:52:13 PM »
 :)
core 15.0 x86_64