[[project @ 2005-09-21 09:54:59 by simonmar] simonmar**20050921095459 Document the -x flag ] { hunk ./ghc/docs/users_guide/flags.xml 124 + + + suffix + Override default behaviour for source files + static + - hunk ./ghc/docs/users_guide/using.xml 518 + + + Overriding the default behaviour for a file + + As described above, the way in which a file is processed by GHC + depends on its suffix. This behaviour can be overriden using the + option: + + + + suffix + + + + Causes all files following this option on the command + line to be processed as if they had the suffix + suffix. For example, to compile a + Haskell module in the file M.my-hs, + use ghc -c -x hs M.my-hs. + + + + + }