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: [PATCH, newlib/ARM] Fix cpp invocation for C++ in nano spec


On Feb  7 16:58, Thomas Preudhomme wrote:
> Hi,
> 
> The changes in c028685518a261f6d0dab0d7ed15f9570ab9b3d0 to use
> newlib-nano's include directory work for cc1 but not cc1plus. cc1plus
> comes with its own cpp spec which does not have a name attached to it.
> 
> This patch uses the renaming trick on cpp_options instead of cpp, as
> cpp_options is used both by cc1 and cc1plus.
> 
> 
> Tested with a small C program including string.h. Preprocess annotations
> show that both when using -x c and -x c++ newlib'nano's newlib.h gets
> chosen.
> 
> Is this ok for master?

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


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