[Coco] NitrOS-9 build kit for Windows

Bill Pierce ooogalapasooo at aol.com
Fri Apr 5 07:59:26 EDT 2019


I don't know how current it is, but Tormod had put together a "Git" package that installs MinGW, Mercurial, LWTools, & Toolshed, in one step, ready to run and compile NitrOS9.
I've been using this since he posted it and I have no problems with the repo. The LWTools & ToolShed most likely need to be updated in the package, but run "as is" for me.

http://www.nitros9.org/sdk/
 
 
 
-----Original Message-----
From: Tormod Volden <lists.tormod at gmail.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Sent: Mon, Jun 5, 2017 5:16 am
Subject: [Coco] NitrOS-9 build kit for Windows

Hi all you wanting to build NitrOS-9 on Windows,

I have put together a one-download just-click-next installer that
gives you a full environment for building NitrOS-9:

http://www.nitros9.org/sdk/

Just accept all default options in the installer. Now to build
NitrOS-9, open a "Git Bash" window from your start menu. In the
window, type:

hg clone http://hg.code.sf.net/p/nitros9/code nitros9
cd nitros9
make dsk PORTS=coco3

And you're done. Of course change "coco3" to whatever port you want to
build (coco2, coco3_6309, etc). The first "hg clone" step is only
needed once! Next time just run "hg pull -u" (after "cd nitros9")
instead. The installer offers to open Git Bash for you, and also to
show the release notes. The release notes links to build instructions
in the NitrOS-9 wiki - which you should read of course.

For now it is only for 64-bit Windows. A 32-bit version might come later.

Thanks to the "Git for Windows" developers for making their SDK!
Thanks to Bill Pierce for testing the installer!

Behind the scenes:

This is a customized version of the "Git for Windows" installer. No,
you don't need git for building NitrOS-9, but Git for Windows is the
easiest way to get a usable command-line environment on a Windows OS.
It has been a life-saver for me and others needing to use Windows in
certain situations (like work...) and I always wanted to make a
NitrOS-9 building system out of it. The Git for Windows *SDK* has made
this really simple.

Our installer is fully compatible with the official Git for Windows,
so you can safely replace your ordinary installation if you have one.
It should have been renamed to "Git and Mercurial for Windows" :)

The installer installs like (the official one) to C:\Program Files
(X86?)\Git which requires administrator rights and makes it available
to all users. On the other hand, the NitrOS-9 repo clone will be in
the user home directory (C:\Users\xxx\nitros9) so a normal user can
work on his own NitrOS-9 repo clone without issues.

The git bash installation does not include "gcc" or any compiler for
building Windows binaries so you cannot use it to build ToolShed or
LWTOOLS (they are already included and ready to use). Use MSYS2 or
Mingw for that - it is not the primary intention of this installer.
Advanced users may want to use MSYS2 for building NitrOS-9 also, at
their own discretion.

When using mercurial an editor is sometimes required (e.g. for commit
messages). It is recommended to use a less braindead editor than
Notepad. Notepad++ is highly recommended. The installed system has a
/etc/profile.d/nitros9.sh configuration file that sets up mercurial to
use Notepad++ if it finds it.

Best regards,
Tormod

-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list