summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2005-10-23 00:41:54 +0000
committerhubertf <hubertf@pkgsrc.org>2005-10-23 00:41:54 +0000
commitb0f53277e32c7b16c839cbd64afc4a3dd577004a (patch)
treed098b82911117c91242c855026e24a6de7c0c5f4 /doc
parent6ee56d8a541403a18d204516990f736b75617d62 (diff)
downloadpkgsrc-b0f53277e32c7b16c839cbd64afc4a3dd577004a.tar.gz
Expand section on CPP defines, thanks to salo.
XXX can anyone rebuild this stuff, and commit to htdocs?
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/files/fixes.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index 8c47b1e05ba..ad5e1a28663 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -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 @@ pre-configure:
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>