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]

Re: proposed patch: arm -> arm* in config.host


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


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