Date: Fri, 10 Feb 2017 10:30:15 -0600 From: John Marino <freebsdml@marino.st> To: "Meyer, Wolfgang" <wolfgang.meyer@hob.de>, "'freebsd-arm@FreeBSD.org'" <freebsd-arm@FreeBSD.org>, "'freebsd-toolchain@FreeBSD.org'" <freebsd-toolchain@FreeBSD.org> Subject: Re: How to get a crosscompile toolchain for aarch64 for use in poudriere[?] Message-ID: <ace2d2a6-12d2-bf6b-97af-0e1e350901a5@marino.st> In-Reply-To: <EC88118611AE564AB0B10C6A4569004D015C0639B8@HOBEX11.hob.de> References: <EC88118611AE564AB0B10C6A4569004D015C063770@HOBEX11.hob.de> <b4c52395-db3e-b824-e8cc-f8660b000a48@marino.st> <EC88118611AE564AB0B10C6A4569004D015C0639B8@HOBEX11.hob.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/10/2017 10:24, Meyer, Wolfgang wrote: >> >> I don't know if this will help, but I created a proper [1] >> cross-compiler for aarch64 last week: >> http://www.freshports.org/lang/gnatcross-aarch64/ >> >> John >> >> [1] By proper, I mean based on FreeBSD/ARM64 sysroot (currently >> only Release 11.0 available) >> > > Thanks, I will look at it next week. Is there a documentation on how > the toolchain was created, or is it basically along the lines of > normal gcc-based toolchain creation? The ports makefiles are recipes. If you want to know how something is built, you look at those. There are many cross-compiler ports in the tree. The only thing special about this one is that a bootstrap compiler is used in order to build the Ada front-end. But that's just a case of specifying it over a base compiler. > Although I somehow would prefer > if I can manage to base my cross-compile toolchain on the base system > toolchain. Good luck, since that's impossible. Cross-compilers need their own set of binutils for the target system. You're not going to be able to do better than what I did. John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ace2d2a6-12d2-bf6b-97af-0e1e350901a5>