summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhubertf <hubertf>2005-10-23 00:41:54 +0000
committerhubertf <hubertf>2005-10-23 00:41:54 +0000
commit44a27b3d271e06b9a21a27829243bd1d8125364f (patch)
treed098b82911117c91242c855026e24a6de7c0c5f4 /doc
parent76b9b80147ba2e1320fbfdb34f8348834f5a97be (diff)
downloadpkgsrc-44a27b3d271e06b9a21a27829243bd1d8125364f.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>