pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files Expand section on CPP defines, thanks ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f189a8f3829d
branches: trunk
changeset: 501440:f189a8f3829d
user: hubertf <hubertf%pkgsrc.org@localhost>
date: Sun Oct 23 00:41:54 2005 +0000
description:
Expand section on CPP defines, thanks to salo.
XXX can anyone rebuild this stuff, and commit to htdocs?
diffstat:
doc/guide/files/fixes.xml | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 4d237401e911 -r f189a8f3829d doc/guide/files/fixes.xml
--- a/doc/guide/files/fixes.xml Sat Oct 22 23:25:46 2005 +0000
+++ b/doc/guide/files/fixes.xml Sun Oct 23 00:41:54 2005 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.30 2005/09/14 16:46:13 reed Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.31 2005/10/23 00:41:54 hubertf Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Notes on fixes for packages</title>
@@ -791,6 +791,18 @@
should only apply to features of &os; that are not present in other
4.4-lite-derived BSDs.</para>
</sect2>
+
+ <sect2 id="cpp-list">
+ <title>Getting a list of CPP defines</title>
+
+ <para>
+ When your system uses the GNU C Compiler, you can get a list
+ of symbols that are defined by default, e.g. to identify
+ the platform, with the following command:
+ </para>
+
+ <programlisting> gcc -E -dM - < /dev/null </programlisting>
+ </sect2>
</sect1>
Home |
Main Index |
Thread Index |
Old Index