This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch] README, using --target=TARGET option, was RE: Cross compiling Newlib for ARM in Cygwin


> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
> On Behalf Of Schwarz, Konrad

> I have to say that I find newlib/README confusing:
> Section "The Build, Host, and Target Concepts in newlib"
> states that "the target concept does not apply to [newlib] ...
> gcc's target platform is newlib's host platform, and, as mentioned
> before, newlib has no concept of target", but the top-level configure
> script requires the --target= argument.  I was misled by this to set
> host to arm-none-eabi.
> 
> I think the presentation could be improved by adding a sentence to the
> effect of "To compile newlib for a host x, add --target=x when invoking
> the top level configure script."

Please find an according patch attached.

Attachment: 0001-Target-Host-configuration-elucidated.patch
Description: 0001-Target-Host-configuration-elucidated.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]