This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: proposed patch: arm -> arm* in config.host
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 23 Feb 2012 10:30:56 +0100
- Subject: Re: proposed patch: arm -> arm* in config.host
- References: <CAECC7wkBVK-FmD=tO+wfEpgnkdNOff5-URru=7f0DNkjGYG3aA@mail.gmail.com> <CAECC7wk+Pit9zV55=zxgXO3VjdNVbPZRu4fGYzWUon2aBfU9sw@mail.gmail.com>
- Reply-to: newlib at sourceware dot org
On Feb 9 13:43, Dan Egnor wrote:
> Per Jeff's suggestion at
> http://sourceware.org/bugzilla/show_bug.cgi?id=13676Â;...
> Many arm targets use variant names like "armhl", "armel", "armeb", etc..
> (In our case, we use "armeb-unknown-eabi" for a big-endian bare-metal target.)
>
> Currently, newlib doesn't accept these; the attached patch repairs
> this to accept any arm* host. Note that these variants are treated
> identically. Â(In our case, at least, no special treatment is needed;
> for example, endianness and FPU type are already handled via the
> appropriate preprocessor macros.)
>
> I admit that I don't know much about the way newlib's host
> configuration works. ÂThe patch (or one very similar to it) Works For
> Me but I'm not sure if it's a good general solution.
>
> -- egnor
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/src/src/ChangeLog,v
> retrieving revision 1.1014
> diff -u -r1.1014 ChangeLog
> --- ChangeLog 18 Dec 2011 10:20:51 -0000 1.1014
> +++ ChangeLog 9 Feb 2012 21:31:37 -0000
> @@ -1,3 +1,7 @@
> +2012-02-09 Dan Egnor <...>
> +
> + * configure.host: Accept "arm*" host spec instead of just "arm".
Patch applied.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat