Cross compiling Newlib for ARM in Cygwin
Wed Mar 23 12:22:00 GMT 2016
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]
> On Behalf Of Yaakov Selkowitz
> Sent: Tuesday, March 22, 2016 4:48 PM
> To: firstname.lastname@example.org
> Subject: Re: Cross compiling Newlib for ARM in Cygwin
> On 2016-03-22 09:33, Schwarz, Konrad wrote:
> > pardon my obtuseness: I'd like to build newlib for the arm-none-eabi
> target on a Cygwin host.
> > I have a arm-none-eabi GCC and Binutils which was built for native
> Cygwin != native Windows. If you want to use a Cygwin shell for cross-
> compiling, then you'll want Cygwin-hosted cross-compilers.
Yes, you are right. This configuration (native Windows GCC
together with Cygwin build environment) fails.
I think this is because GCC does not apply cygpath
to all of its arguments (and also not to its error messages).
(At least the CodeSourcery/Mentor version of GCC is documented
to use cygpath via the environment variable CYGPATH to translate
More information about the Newlib