diff options
author | wolfgang.thaller@gmx.net <unknown> | 2006-12-01 12:53:04 +0000 |
---|---|---|
committer | wolfgang.thaller@gmx.net <unknown> | 2006-12-01 12:53:04 +0000 |
commit | 8971f720a67113308e346598814221228b12a4fc (patch) | |
tree | 0de9ae11f2fc027c21e96ea5e0b1f2a1a3b8ed7a /docs | |
parent | ea2d0a53ff4ca7e6331d09225ad84ec9c9efe6d8 (diff) | |
download | haskell-8971f720a67113308e346598814221228b12a4fc.tar.gz |
Decouple -O from -fvia-C
Nowadays, there are situations where -fvia-C is definitely unwanted, such
as when -fPIC is used on some platforms, so we do not want implicit -fvia-C
any more.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/phases.xml | 9 | ||||
-rw-r--r-- | docs/users_guide/sooner.xml | 3 | ||||
-rw-r--r-- | docs/users_guide/using.xml | 4 |
3 files changed, 3 insertions, 13 deletions
diff --git a/docs/users_guide/phases.xml b/docs/users_guide/phases.xml index cd18469e81..2f74a6bbaa 100644 --- a/docs/users_guide/phases.xml +++ b/docs/users_guide/phases.xml @@ -567,9 +567,7 @@ $ cat foo.hspp</screen> <para>Use GHC's native code generator rather than compiling via C. This will compile faster (up to twice as fast), but may produce code that is slightly slower than - compiling via C. <option>-fasm</option> is the default - when optimisation is off (see <xref - linkend="options-optimise"/>).</para> + compiling via C. <option>-fasm</option> is the default.</para> </listitem> </varlistentry> @@ -580,9 +578,8 @@ $ cat foo.hspp</screen> </term> <listitem> <para>Compile via C instead of using the native code - generator. This is default for optimised compilations, - and on architectures for which GHC doesn't have a native - code generator.</para> + generator. This is the default on architectures for which GHC + doesn't have a native code generator.</para> </listitem> </varlistentry> diff --git a/docs/users_guide/sooner.xml b/docs/users_guide/sooner.xml index ec1bb3dc01..19c1c11bdc 100644 --- a/docs/users_guide/sooner.xml +++ b/docs/users_guide/sooner.xml @@ -200,9 +200,6 @@ should go here!</para> mind-bogglingly clever. Better to let GCC have a go, as it tries much harder on register allocation, etc.</para> - <para>At the moment, if you turn on <option>-O</option> you - get GCC instead. This may change in the future.</para> - <para>So, when we want very fast code, we use: <option>-O -fvia-C</option>.</para> </listitem> diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 73f56370dd..0168123c70 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1252,10 +1252,6 @@ f "2" = 2 <para>Means: “Generate good-quality code without taking too long about it.” Thus, for example: <command>ghc -c -O Main.lhs</command></para> - - <para><option>-O</option> currently also implies - <option>-fvia-C</option>. This may change in the - future.</para> </listitem> </varlistentry> |