tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Windows port?




This *is* a quick and easy way to get a *nix env under Windows. Many of our
researchers use it for testing and to connect to our HPC clusters.

Note, however that the WSL has some limitations:

https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

I'm also leery of anything that puts me at the mercy of a vendor.

If access to the pkgsrc collection is what you want, how about running NetBSD under VirtualBox?  It might run under Hyper-V as well, but I have no personal
experience.

Warning: Be sure to disable the Hyper-V component if you want to run VirtualBox,
or you may run into problems.

On 05/18/18 02:11, Benny Siegert wrote:
At this point, the most hassle-free way to have pkgsrc on Windows is to use
"bash on Ubuntu on Windows" and bootstrap pkgsrc in the Linux container.
On Thu, May 17, 2018 at 10:35 PM J. Lewis Muir <jlmuir%imca-cat.org@localhost> wrote:

Hello, all!
Has anyone considered or worked on a Windows pkgsrc port using MinGW
[1] or Mingw-w64 [2]?  Are there any known issues that would make this
particularly difficult?
I'm aware that the pkgsrc website says, "pkgsrc is a framework for
building third-party software on NetBSD and other UNIX-like systems...."
However, I don't know if that's a project goal or more a statement
of current capability.  In other words, is a "portable package build
system" (also quoted from the website) a project goal that could include
Windows?  I would want to bootstrap pkgsrc on Windows and build packages
for Windows with it.  I'm fine for the port to use MinGW, Mingw-w64, or
MSYS utilities (e.g., bash, make, gawk, grep, etc.).
I'm aware of the Cygwin port, but I'm interested in a port that will
compile for Windows (i.e., binaries and libraries use Windows API
calls), not for Cygwin (i.e., I do not want to link against Cygwin's
run-time (cygwin1.dll)).
I'm asking all of this under the assumption that the pkgsrc
cross-compiling feature is dead or incomplete.  Am I right about that?
If pkgsrc cross-compiling were an option, I wouldn't need a Windows
port because I'd be fine to bootstrap pkgsrc on a UNIX-like OS and
cross-compile for Windows.
Thanks!
Lewis
[1] http://www.mingw.org/
[2] https://mingw-w64.org/





Home | Main Index | Thread Index | Old Index