Closed raymanfx closed 2 years ago
I'm quite sure cross-compiling is only expected to work for NetBSD.
Indeed, that appears to be the case.
I bit the bullet and bootstrapped pkgsrc on the target, which appears to work (after doing some modifications to get it up to speed with QNX 7.1). pkgin
is working fine already.
I am trying to compile several packages (including pkgin) for QNX. Following the cross-compile docs here: https://github.com/NetBSD/pkgsrc/blob/trunk/doc/HOWTO-use-crosscompile lead me to the following config in
pkg/etc/mk.conf
:My procedure consists of the following:
bmake
for my host (Linux):./bootstrap/bootstrap --prefix /home/chesse/work/qnx/pkg/env/pkg --unprivileged
mk.conf
so it looks like the above.pkgtools/pkgin
).What I then see is the following issue:
At a first glance, this looks fine. I am not bootstrapping on the target system (QNX) but just want to cross-compile packages for it. Ideally, I would like to build pkgin and friends for the target, so I can just install packages there from a binary repository. The packages itself should only be built on Linux (where I have the QNX toolchain etc. set up).
Obviously the build system still thinks this is an error. What am I missing here?