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: Error Building Newlib for arm-none-eabi


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


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