proposed patch: arm -> arm* in config.host
Dan Egnor
egnor@ofb.net
Thu Feb 9 21:43:00 GMT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-arm-wildcard.patch
Type: text/x-patch
Size: 1333 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20120209/5b00ac56/attachment.bin>
More information about the Newlib
mailing list