Cross compiling Newlib for ARM in Cygwin
Wed Mar 23 15:45:00 GMT 2016
On 03/23/2016 08:16 AM, Joel Sherrill wrote:
> What do you recommend at the install prefix when they are Mingw/MSYS2
> binaries? Do you just put them at a Windows rooted path and use
> /cygdrive/c/... to reference them from Cygwin?
I use my ABE tool (https://git.linaro.org/toolchain/abe.git), which is
a crosstool-ng replacement to build win32 executables. As GCC can use a
relative path to the sysroot, ABE embeds it in a compiler sub-directory
to avoid problems. That way the toolchain files can be extracted
wherever the end user wants it. Works on Linux and Windows just fine.
- rob -
More information about the Newlib