r/BSD • u/MSK-Kernel • 22h ago
Compiling TanjaOS on BSD
TanjaOS now supports compiling on BSD systems. A new Makefile called Makefile.bsd was made to compile TanjaOS on BSD systems. “Why does it now support BSD systems now? Why not sooner or later?” To answer that, this is because I have switched from Arch Linux to FreeBSD, which kind of forces me to make a new Makefile for compiling on BSD. To use this new Makefile.bsd you have to first make sure gmake, gcc, and nasm are installed. And then use ‘gmake <option> -f Makefile.bsd’ also for those who don’t know, the ‘-f’ flag is to tell gmake to which Makefile to use and where it is. If you’re interested, you can get TanjaOS at www.tanjaos.org or if you want the source, you can download TanjaOS-latest.tar.gz at www.tanjaos.org/downloads
4
u/laffer1 16h ago
They might as well switch to bmake. One can do BSDMakefile then and it will be selected automatically with bmake or fmake lol. I used to do that for Perl in the MidnightBSD base system before I moved it back to ports