Date: Sun, 14 Jun 2015 19:18:33 -0700 From: Adrian Chadd <adrian@freebsd.org> To: "freebsd-embedded@freebsd.org" <embedded@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Starting to cross-compile non-base software for MIPS - what it's like Message-ID: <CAJ-VmomYqmkZimzpXgxJK00vDhxK%2BqUdMSk%2BxXXiaZ_qdE6COQ@mail.gmail.com> In-Reply-To: <CAJ-Vmom%2BkGODRk8eT4LyFRnwTJd2AHwgrR6cbrB7hE6Z8Cx_Vw@mail.gmail.com> References: <CAJ-VmonSXYdLP_VpGh%2B3N_WfGwDLqWGcuPvOCf4VkOd0pJ5QWg@mail.gmail.com> <CAJ-Vmom%2BkGODRk8eT4LyFRnwTJd2AHwgrR6cbrB7hE6Z8Cx_Vw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomYqmkZimzpXgxJK00vDhxK%2BqUdMSk%2BxXXiaZ_qdE6COQ>