Starting to cross-compile non-base software for MIPS - what it's like
Adrian Chadd
adrian at freebsd.org
Mon Jun 15 02:18:34 UTC 2015
Actually, the installworld part fails:
===> gnu (install)
===> gnu/lib (install)
===> gnu/lib/csu (install)
===> gnu/lib/libgcc (install)
===> gnu/lib/libdialog (install)
===> gnu/lib/libregex (install)
===> gnu/lib/libgcov (install)
install: libgcov.a: No such file or directory
*** Error code 71
.. I'm guessing it's not building some gnu/gcc bits when using an
external toolchain?
Ah yes, it is - MK_GCC is apparently being set to NO during build, but
not during intsallworld, even though I am setting things during the
installworld phase.
here's what i'm calling:
*** Stage : installworld
env MAKEOBJDIRPREFIX=/home/adrian/work/freebsd/head-embedded-2/src/../obj/mips/
make -s DB_FROM_SRC=1 TARGET=mips TARGET_ARCH=mips NO_WERROR=1
CROSS_TOOLCHAIN=mips-gcc COMPILER_TYPE=gcc TARGET_CPUTYPE=mips32
CPUTYPE=mips32 KERNCONF=MALTA KODIR=/boot/kernel.MALTA/
DESTDIR=/home/adrian/work/freebsd/head-embedded-2/src/../root/mips
NO_ROOT=yes KMODDIR=/boot/kernel.MALTA/
__MAKE_CONF=/home/adrian/work/freebsd/head-embedded-2/src/../root/mips/../make.conf.mips
SRCCONF=/home/adrian/work/freebsd/head-embedded-2/src/../root/mips/../src.conf.mips
LOCAL_DIRS= installworld
.. any ideas?
-a
More information about the freebsd-mips
mailing list