Re: Development environment discussion
"Billie Alsup (balsup)" <[email protected]> Wed, 17 Dec 2025 17:44:38 +0000
| Newsgroups | org.kernelnewbies.kernelnewbies |
|---|---|
| Message-ID | <BY5PR11MB4244ECBE8934F668A336E5B8D9ABA@BY5PR11MB4244.namprd11.prod.outlook.com> |
>Why would you use a mac for kernel dev? That's a horrible choice. Stick wi= th bare metal linux. I think a Mac with virtual machines works just fine. =A0I use such an envir= onment for kernel development, and don't have any problems. =A0Certainly do= n't try to build directly on the Mac, particularly on a filesystem without = case sensitivity. =A0 I have used Ubuntu, CentOS, and Fedora successfully t= o build kernels for the native CPU architecture. =A0These can be tested in = another VM quite easily. =A0 I have not tried to cross-compile a kernel how= ever (so I haven't tried to build an x86_64 kernel on an m4 mac, nor an aar= ch64 kernel on an x86_64 mac), but if it works on bare metal, I would expec= t it to work the same on the VM. =A0You just have to get all your prerequis= ites installed first. I don't know the specifications for your Macbook air, or whether it is an M= series machine or an older x86 machine. =A0 The M series are much faster t= han the older X86 macs. =A0 The number of cores, amount of memory, and amou= nt of storage will all play into how well this environment works for you. = =A0I'm using an M4 Max with 128GB memory and 8TB SSD. =A0I have my Fedora V= M setup with 16GB memory and 4 processor cores and 1TB (sparse) disk. =A0Th= e ubuntu VM is setup the same, although I don't usually keep them both runn= ing. I usually work in the Fedora VM. _______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies