This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Cross compiling Newlib for ARM in Cygwin
- From: Rob Savoye <rob dot savoye at linaro dot org>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>, "Schwarz, Konrad" <konrad dot schwarz at siemens dot com>, "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Wed, 23 Mar 2016 09:45:31 -0600
- Subject: Re: Cross compiling Newlib for ARM in Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <A45B1767F1002449A37508C2CC6003D72DD106 at DEFTHW99EJ1MSX dot ww902 dot siemens dot net> <56F1691B dot 6050403 at cygwin dot com> <A45B1767F1002449A37508C2CC6003D72DDD95 at DEFTHW99EJ1MSX dot ww902 dot siemens dot net> <56F29C30 dot 3000800 at linaro dot org> <56F2A537 dot 9090503 at oarcorp dot com>
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 -