View Single Post
Old 05-18-2016, 09:23 PM   #246
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
As I'm sure you're aware, you'll indeed need to match the GCC version used if you want to build kernel modules without having to ship a full kernel+modules set.
Yep! Which is the reason Rob Landley chose to package a binary qemu in his "full source" build -- he considered the need to install gcc 3.x on your HOST computer to be an unreasonable demand for building qemu from source. Not only kernel modules, but apps as well can be dependent on specific gcc versions...

Also why LKMPG (linux kernel module programming guide) STRONGLY recommends building your own matching kernel (though it does go into specifics for those deperate souls who MUST match a pre-existing kernel version, such as on the K1).

That is also why I mentioned building the toochain included in the kindle GPL source distribution. For kernel modules...

But thanks for the reminder -- You never know what holes I have in supposedly "obvious" (for you) knowledge -- or what I used to know but forgot, while treading this "unfamiliar" territory. Heck, even a lot of MY old code is completely unfamilar to me these days. What was old is new again...

Last edited by geekmaster; 05-18-2016 at 09:36 PM.
geekmaster is offline   Reply With Quote