This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "position independent" vs "position-independent" in documentation
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>, <gcc at gcc dot gnu dot org>
- Date: Mon, 30 Apr 2018 22:12:36 -0600
- Subject: Re: "position independent" vs "position-independent" in documentation
- References: <20180430115654.GK20930@redhat.com>
On 04/30/2018 05:56 AM, Jonathan Wakely wrote:
Should we standardize on "position-independent" and add it to
https://gcc.gnu.org/codingconventions.html#Spelling ?
The same generic English usage rules apply here as to other compound
phrases; hyphenate when immediately before a noun, don't hyphenate in
other contexts. So "the compiler generates position-independent code"
and "the compiler generates code that is position independent" are both
correct. However, I don't think it's common to use "position
independent" (hyphenated or not) except as a modifier for "code", so you
could add "position-independent code" (rather than just
"position-independent") to the glossary.
-Sandra