tech-pkg archive

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

Cross-compile Oasis Linux from NetBSD?

from Michael Forney June 6,2021:
> On 2021-06-05, Greg Troxel <> wrote:
> > If you've actually tested it on NetBSD, and it works, and you can get it
> > committed in say 48h after we see if anybody else has reasons not to,
> > that seems fine to me.
> Yes, it works fine on NetBSD.
> > (You didn't mention what system it fails on because of lack of getopt,
> > but it seems an uncommon one as this is the first report of this problem
> > in 15 years.
> My system is rather strange. It is Linux, but most of the unix tools
> come from sbase and a few other places.
> > I'm fine with fixing it but I don't want to change things
> > to address corner cases in the few days before freeze.)
> Ah, I didn't realize we were so close to a freeze. I was just going
> through my local pkgsrc branch looking to see what changes I had left.
> I wrote this patch a year ago, so I can wait a few more weeks until
> after the freeze.
I saw your message on, recognized your name and sbase.  

That was some time after I successfully cross-compiled Busybox for Linux from both FreeBSD and NetBSD.

Toybox no good, only partly because of all those #!/bin/bash in scripts.

I built some toolchains, some but not all successfully, from Rich Felker's musl-cross-make 

git remote -v
origin (fetch)
origin (push)

I looked at Oasis, which I follow via git, am still trying to figure if it could build from NetBSD or FreeBSD.

I am not sure if this list is appropriate or if this thread should go to offlist email.

I would want something that would be able to build gcc and the Linux kernel.

Otherwise, how do you update Oasis from itself, if cproc is not up to building gcc or the Linux kernel?

I am now on NetBSD 9.99.82 for both amd64 and i386.

I see there is also a newer musl-cross-make:

git remote -v
origin (fetch)
origin (push)


Home | Main Index | Thread Index | Old Index