This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] nios2-linux: add missing cpp specs


On 05/29/2015 11:36 AM, Mike Frysinger wrote:
On 29 May 2015 08:44, Sandra Loosemore wrote:
On 05/27/2015 10:00 AM, Mike Frysinger wrote:
Define CPP_SPEC for nios2 linux targets so that -posix & -pthread work
like on all other linux targets.

2015-05-27  Mike Frysinger  <vapier@gentoo.org>

	* config/nios2/linux.h (CPP_SPEC): Define.

I see that -posix is not documented at all in invoke.texi and -pthread
is documented only for RS6000 and Solaris (which is not Linux).  What,
exactly, are these options supposed to do on "all other linux targets"?
   If these options are supposed to be generic to all Linux targets,
can't they be handled in some common way instead of duplicating the
CPP_SPEC code in all the individual back ends?

please see my other threads/patches

(Sorry, I am a few days behind in mailing list traffic, was just trying to respond to the review request that was CC'ed to me directly.)

Do you mean this one?

https://gcc.gnu.org/ml/gcc-patches/2015-05/msg02708.html

That addresses my concern about not duplicating this in every back end, but I still don't see any documentation and don't really understand what these flags are supposed to do or why I might need to add them to my command line. Taking off my nios2 maintainer hat and putting on the docs maintainer one instead, I think proper documentation for these options is a requirement here....

-Sandra


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