On 04/19/2018 03:58 AM, Alex Bennée wrote:
> What would be really
> helpful is if the respective maintainers could encode their EXACT
> STEPS for building their cross compilers into some docker recipes.

I've just re-built my alphaev67 cross-environment and recorded everything.

Since the script begins with rebuilding glibc, it assumes you *already* have a
cross-compiler.  If you don't have that, then you start in the middle of the
script with the GCC build.  But in that case you must have the sysroot.tar.gz
that the first half just created.

Starting without that seed tarball is hard, as previously mentioned.  For
better supported platforms than alpha you can typically pull the same files
from e.g. debian packages or a gentoo stage3 tarball.

While I've used git gcc/binutils/glibc, because I had them handy, of course
everything would work equally well using release tarballs for each project.

Let me know if you have any questions re cross-tools.


r~

Attachment: cross.sh
Description: application/shellscript

Reply via email to