Mozilla-Build 2.2.0 (last version with start-msvc scripts)
What won't work:
VS2013 won't compile the newest NSS, don't know in what ver of NSS that happened.
VS2017 doesn't seem to work with Mozilla-build >3.0 to set up the environment (no compiler found) and won't work with Mozilla-build 2.2.0 out of the box. I tried to naively create a script that changed version to 2017 but that didn't work so quickly abandoned that idea.
I am able to successfully build the latest NSS/NSPR combo with above.
The build for JSS would originally blow up until I modified the start-shell script of Mozilla-build to manually add the full path to the output folder inside dist folder to the INCLUDE path. (This is line 140 in start-shell.bat for Mozilla-build 2.2.0). The JSS build script is looking for files where it's building JSS in
and my NSS/NSPR stuff was output into
BTW, I can't build the tip (another message to follow, this one is already too long) and I get an error about no make target for a file in JSS_4_4_20170501 so I backed up a little more to JSS_4_4_20170313 tag.
This got me a lot farther in the process but then I got a missing smime3.lib where it's again looking in the WIN954.0_64_OPT.OBJ not WIN954.0_x86_64_64_OPT.OBJ folder.
At this point, I copied all .lib files from the NSS/NSPR output folder to the location JSS is expecting.
I feel like I'm alllllllmost there, but I'm really not a C coder and don't have any experience with the MSVC toolchain so if someone could point me in the right direction I'd appreciate the help greatly.
I also don't know if any of these problems are because the instructions say to use gmake which the Mozilla-build MSYS environment doesn't have.