This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: document HOST_BITS_PER_LONGLONG and DIR_SEPARATOR_2
Lars Brinkhoff <lars@nocrew.org> writes:
> Matt Kraai <kraai@alumni.carnegiemellon.edu> writes:
> > Lars Brinkhoff wrote:
> > The last sentence might be better phrased as "GCC will test for
> > slash, @samp{DIR_SEPARATOR}, and @samp{DIR_SEPARATOR_2} when
> > parsing filenames."
> Yes, much better. Would an updated patch be acceptable?
Here is an updated patch to document HOST_BITS_PER_LONGLONG and
DIR_SEPARATOR_2. If approved, please commit as I don't have CVS write
access.
2001-02-23 lars brinkhoff <lars@nocrew.org>
* gcc.texi (HOST_BITS_PER_LONGLONG): Document.
(DIR_SEPARATOR_2): Likewise.
Index: gcc.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.texi,v
retrieving revision 1.76
diff -c -3 -p -r1.76 gcc.texi
*** gcc.texi 2001/02/19 20:03:41 1.76
--- gcc.texi 2001/02/23 21:20:59
*************** machine.
*** 4134,4139 ****
--- 4134,4144 ----
A C expression for the number of bits in @code{long} on the host
machine.
+ @findex HOST_BITS_PER_LONGLONG
+ @item HOST_BITS_PER_LONGLONG
+ A C expression for the number of bits in @code{long long} on the host
+ machine.
+
@findex ONLY_INT_FIELDS
@item ONLY_INT_FIELDS
Define this macro to indicate that the host compiler only supports
*************** directory names within a file specificat
*** 4216,4221 ****
--- 4221,4234 ----
character constant specifying that character. When GCC displays file
names, the character you specify will be used. GCC will test for
both slash and the character you specify when parsing filenames.
+
+ @findex DIR_SEPARATOR_2
+ @item DIR_SEPARATOR_2
+ If your system uses an alternative character other than
+ @samp{DIR_SEPARATOR} to separate directory names within a file
+ specification, define this macro to be a C character constant specifying
+ that character. If you define this macro, GCC will test for slash,
+ @samp{DIR_SEPARATOR}, and @samp{DIR_SEPARATOR_2} when parsing filenames.
@findex OBJECT_SUFFIX
@item OBJECT_SUFFIX