Error Building Newlib for arm-none-eabi

Joseph Myers joseph@codesourcery.com
Wed Feb 21 23:35:00 GMT 2018


When you have mysterious parser errors, the first thing to do is to repeat 
the failing compilation command (which I don't see anywhere in this 
thread) but with -save-temps.  Then you can look at the actual 
macro-expanded code seen by the compiler at the point where the failure 
occurs.  Then you need to trace things back to establish how that sequence 
of tokens arose through some sequence of macro expansions in the newlib 
source code, so that you can either report a problem reduced down to a 
particular macro definition or combination thereof, or identify a problem 
with your build environment causing a nonsensical combination of headers 
(for example) to be used.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Newlib mailing list