NetBSD-Users archive

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

Re: Cross-compiler (IT geek 31) writes:

>I'm running NetBSD 5.2.2 on a few Cobalt Qubes and I think they're
>However, when it comes to building packages from pkgsrc, they're not so
>great... mainly due to their 200MHz processor.
>Would it be possible to cross-compile for the Qube architecture on my
>NetBSD i386 box (which is infinitely more powerful)?
>If so, could someone point me in the direction of a guide on how to do this?

Cross building packages is difficult because lots of software comes with
build systems (Makefiles, configure scripts) that expect to run natively
or that create their own build tools (e.g. miniperl). There is work going
on, but I doubt that it will ever allow to cross build all of pkgsrc.

However, it is possible to build packages natively and only defer the compiler
to a faster machine. See

for a tutorial.

For some packages this is even the only workable build method as the
native machine wouldn't have enough RAM to run the compiler.

Home | Main Index | Thread Index | Old Index