Date: Mon, 19 Nov 2018 09:52:16 -0800 From: Mark Millard <marklmi@yahoo.com> To: Dennis Clarke <dclarke@blastwave.org> Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: compile error Message-ID: <92740193-117C-41B7-A0F9-07E8A33B4FFB@yahoo.com> In-Reply-To: <e524d16e-1075-3b9d-6120-e049df45aaaf@blastwave.org> References: <225465.32269.qm@web103913.mail.ssk.yahoo.co.jp> <20181119094615.6779f79d@ralga.knownspace> <7fe0ac0d-5dc9-4c36-665d-3919fb60a86e@blastwave.org> <20181119101213.3fc9a86c@ralga.knownspace> <e524d16e-1075-3b9d-6120-e049df45aaaf@blastwave.org>
index | next in thread | previous in thread | raw e-mail
On 2018-Nov-19, at 08:17, Dennis Clarke <dclarke at blastwave.org> wrote: > On 11/19/18 11:12 AM, Justin Hibbits wrote: >> On Mon, 19 Nov 2018 11:05:44 -0500 >> Dennis Clarke <dclarke@blastwave.org> wrote: >>> On 11/19/18 10:46 AM, Justin Hibbits wrote: >>> <snip> >>>> Did you first make kernel-toolchain or make buildworld, for this? >>>> I'm assuming you're using either MPC85XX, MPC85XXSPE or QORIQ64 as >>>> the kernel. Which target are you using: powerpc, powerpcspe, or >>>> powerpc64? >>> >>> Is this sort of stepwise knowledge documented ? >>> >>> I see here : >>> >>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >>> >>> So this "kernel-toolchain" is not there at all. I am speaking out of >>> turn given that I have yet to see my own little ppc64 experiment build >>> a kernel yet and in fact it has been working slowly on gdb-8.2 from >>> ports for nearly twenty hours. I expect to get around to building >>> current sometime later today and it would ne nice to know what little >>> secrets are hidden from the online docs. The gcc build docs are about >>> the same so maybe just experience and experiments are needed to >>> determine a stable path to building current. >>> >>> Dennis >> "make buildworld" will build the toolchain. 'make kernel-toolchain' is >> the minimal subset of world required to build the kernel. If "make >> buildworld" is run, that's more than sufficient. > > Thank you for that :-) There is the "man build" or "man 7 build", shown as a web page at: https://www.freebsd.org/cgi/man.cgi?build(7) It says, for example, kernel-toolchain Rebuild the tools needed for kernel compilation. Use this if you did not do a buildworld first. There is a popup for selecting what vintage/context of the page that the man button will get the page from. https://wiki.freebsd.org/EmbeddedHandbook has an example use, but does not talk theory for such. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92740193-117C-41B7-A0F9-07E8A33B4FFB>
