Hiya!

maybe I'll get flames for inquiring, but I'll try anyway:

has anyone attempted (maybe with success) building a NetBSD toolchain
on OpenBSD?

I understand that this might seem senseless to some folks, but it's a
good option for my situation. From the research I've done (archives,
google, etc) it doesn't appear that others have tried (or documented
trying), but I find it hard to believe that this hasn't been attempted
before.

I'd like to do this for the same reason you would cross-compile for
another architecture; I've got to build NetBSD kernels for
development, the system is currently running on seriously underpowered
hardware, and I've got my more powerful (and idle) OpenBSD workstation
sitting next to me (I'm perfectly happy with OpenBSD and not putting
NetBSD on my workstation :)

 NetBSD has a build script that facilitates building the system,
including cross-compilation situations. Aside from make complaining
about options for -d (about printing errors), I ran into the
following:


make: illegal argument to -d option -- e
usage: make [-BeiknPqrSst] [-D variable] [-d flags] [-f makefile]
            [-I directory] [-j max_jobs] [-m directory] [-V variable]
            [NAME=value] [target ...]
dir.o(.text+0x54e): In function `DirExpandCurly':
: warning: strcpy() is almost always misused, please use strlcpy()
/bin/sh: syntax error: `(' unexpected

ERROR: raw_getmakevar TOOLDIR: /tmp/nbbuild22761/nbmake failed
*** BUILD ABORTED ***


in this case, is the strcpy() string warning killing the build
process? If so, can it be suppressed for the build? Should I hack the
build script to use gmake?


any and all thoughts welcome,
thanks..

~Jason
-- 
401.837.8417
[EMAIL PROTECTED]

Reply via email to