diff options
| author | Simon Marlow <marlowsd@gmail.com> | 2009-08-01 22:21:18 +0000 |
|---|---|---|
| committer | Simon Marlow <marlowsd@gmail.com> | 2009-08-01 22:21:18 +0000 |
| commit | 0f3bba68b48e32457f2d66e97eff41129f7772ac (patch) | |
| tree | 28ffe2591b0573ca0e98c94dd9870bdbab3f93f3 | |
| parent | e9f5a98d3ce9c8999b9b229affab9eaa137337da (diff) | |
| download | haskell-0f3bba68b48e32457f2d66e97eff41129f7772ac.tar.gz | |
remove docuumentation for -#include option
| -rw-r--r-- | docs/users_guide/flags.xml | 27 | ||||
| -rw-r--r-- | docs/users_guide/phases.xml | 25 |
2 files changed, 0 insertions, 52 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index 65c7f8a0c9..685dd7a5ad 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -1633,33 +1633,6 @@ </sect2> <sect2> - <title>C compiler options</title> - - <para><xref linkend="options-C-compiler"/></para> - <informaltable> - <tgroup cols="4" align="left" colsep="1" rowsep="1"> - <thead> - <row> - <entry>Flag</entry> - <entry>Description</entry> - <entry>Static/Dynamic</entry> - <entry>Reverse</entry> - </row> - </thead> - <tbody> - <row> - <entry><option>-#include</option> <replaceable>file</replaceable></entry> - <entry>Include <replaceable>file</replaceable> when - compiling the <filename>.hc</filename> file</entry> - <entry>dynamic</entry> - <entry>-</entry> - </row> - </tbody> - </tgroup> - </informaltable> - </sect2> - - <sect2> <title>Code generation options</title> <para><xref linkend="options-codegen"/></para> diff --git a/docs/users_guide/phases.xml b/docs/users_guide/phases.xml index ec1436434f..1249a15963 100644 --- a/docs/users_guide/phases.xml +++ b/docs/users_guide/phases.xml @@ -543,31 +543,6 @@ $ cat foo.hspp</screen> </variablelist> </sect2> - <sect2 id="options-C-compiler"> - <title>Options affecting the C compiler (if applicable)</title> - - <indexterm><primary>include-file options</primary></indexterm> - <indexterm><primary>C compiler options</primary></indexterm> - <indexterm><primary>GCC options</primary></indexterm> - - <para>If you are compiling with lots of foreign calls, you may - need to tell the C compiler about some - <literal>#include</literal> files. The Right Way to do this is to - add an <literal>INCLUDE</literal> pragma to the top of your source file - (<xref linkend="include-pragma" />):</para> - -<programlisting>{-# INCLUDE <X/Xlib.h> #-}</programlisting> - - <para>Sometimes this isn't convenient. In those cases there's an - equivalent command-line option:</para> - -<screen>% ghc -c '-#include <X/Xlib.h>' Xstuff.lhs</screen> - - <indexterm><primary><option>-#include</option></primary> - </indexterm> - - </sect2> - <sect2 id="options-codegen"> <title>Options affecting code generation</title> |
