[NTLK] [ANN] Newton C++ toolchain utilities (ELFtoNTK & ELFtoPKG)
Paul Guyot
pguyot at kallisys.net
Fri Jul 10 06:51:06 EDT 2020
> Date: Thu, 9 Jul 2020 22:30:46 +0200
> From: Matthias Melcher <m.melcher at robowerk.de>
>
> I am currently cherry-picking your changes from git and moving them into my branch, so we stay as compatible as possible between branches. Do you have a short description on how to install the cross platform gcc tools and utilities that are reqired to compile the REx after your 18c0f269699e743a60c92c02d311ff7108b614c4 commit?
>
> "Use modern toolchain to generate Rex"
You need to install ELFtoNTK, ELFtoPKG and Rex tools from DCL:
https://github.com/pguyot/DCL
https://github.com/ekoeppen/cDCL
(historically, Eckhart's repository is the upstream repo on GitHub, and repositories are on-par as he merged my changes and I merged his recent fixes).
You can compile them on your box or get binaries that were pre-compiled on GitHub.
You also need a recent binutils configured with arm-none-eabi target triplet and gcc up to version 8.x with the same triplet.
For example with MacPorts ports
arm-none-eabi-binutils
arm-none-eabi-gcc8 with this Portfile:
https://github.com/pguyot/macports-ports/blob/84b5b4ebc07236a87d7f67f61327edcbf22aae9c/cross/arm-none-eabi-gcc8/Portfile
(or just modify the version number in arm-none-eabi-gcc portfile).
There probably are third-party formulae for homebrew, and gcc8 should compile unpatched.
Paul
More information about the NewtonTalk
mailing list