building ports for ARM
M. Warner Losh
imp at bsdimp.com
Wed Feb 28 10:07:31 UTC 2007
In message: <45e53301.5e2ca738.28ab.2d6c at mx.google.com>
David Cornejo <dave at dogwood.com> writes:
: Is there some generic way to cross-compile ports for the ARM? Some
: ports seem to be ok by overriding the CC/LD/etc. definitions, but
: others attempt to build stuff using compiled binaries...
No.
There's some things that can be done to make this process easier.
However, there are four kinds of ports: simple, host tools needed and
no cross support, with broken cross support, with working cross
support.
Only the first and the last can work. The last works by telling
config to use its cross config to build. The first works by telling
it to use ALL tools for cross build.
I have a bunch of patches to install the cross tools into
/usr/arm-freebsd so that autoconfig for the working ports can work,
and a string of CC=, LD=, etc can work for the simple ports. I've not
had time to integrate those into the tree yet. I also have some
half-assed patches to ports as of about 4.8 that can help a little,
but that don't apply cleanly to present ports...
Warner
More information about the freebsd-arm
mailing list