X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Ffaq.sgml;h=beda1cb7c6c984aae01af1dba94f04b8e2e3a305;hb=dc6afe4242238aa1a7a5d3a150a346d23dd6ea22;hp=25bf69472e1b7684000bfacc4c22a637620df5a5;hpb=2c556fae8314b3b36f031529d018f4f722c2caf2;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/faq.sgml b/ghc/docs/users_guide/faq.sgml index 25bf694..beda1cb 100644 --- a/ghc/docs/users_guide/faq.sgml +++ b/ghc/docs/users_guide/faq.sgml @@ -156,6 +156,17 @@ + The build fails in readline. + + It has been reported that if you have multiple versions + of the readline library installed on Linux, then this may + cause the build to fail. If you have multiple versions of + readline, try uninstalling all except the most recent + version. + + + + When I try to start ghci (probably one I compiled myself) it says ghc-5.02: not built for interactive use @@ -419,7 +430,26 @@ details. + + How do I compile my program for profiling without + overwriting the object files and hi files + I've already built? + + You can select alternative suffixes for object files and + interface files, so you can have several builds of the same + code coexisting in the same directory. For example, to + compile with profiling, you might do this: + + ghc --make -prof -o foo-prof -osuf p.o -hisuf p.hi Main + + See for more details on + the and + options. + + + +