[add cross compilation documentation to the jhc manual
John Meacham <john@repetae.net>**20090623015246
 Ignore-this: 450bd76ff965d8f847197a5637661f27
] hunk ./Makefile.am 255
-	pandoc manual.mkd --toc -s -f markdown -t html -s -c manual.css -o $@
+	pandoc manual.mkd --toc -s -f markdown -t html -s -c manual.css -o $@.html
hunk ./Options.hs 44
-{-@Cross Compilation
+{-@CrossCompilation
hunk ./Options.hs 53
-you are targetting. The targets list is extensible at run-time via the
-targets.ini file explained below.
+you are targetting. An example would be
+
+    ; jhc --cross -mwin32 test/HelloWorld.hs
+
+The targets list is extensible at run-time via the targets.ini file explained
+below.
hunk ./Options.hs 64
-  [targetname]
-  key1=value
-  key2=value
-  key3+=value
-  merge=targetname2
+    [targetname]
+    key1=value
+    key2=value
+    key3+=value
+    merge=targetname2
hunk ./Options.hs 76
-  [win32]
-  gcc=i386-mingw32-gcc
-  cflags+=-mwindows -mno-cygwin
-  executable_extension=.exe
-  merge=i686
+    [win32]
+    gcc=i386-mingw32-gcc
+    cflags+=-mwindows -mno-cygwin
+    executable_extension=.exe
+    merge=i686
hunk ./Options.hs 89
-jhc will attempt to read several targets.ini files in order. they are 
+jhc will attempt to read several targets.ini files in order. they are
hunk ./Options.hs 91
-<installprefix>/etc/jhc-<version>/targets.ini 
+$PREFIX/etc/jhc-\$VERSION/targets.ini
hunk ./Options.hs 94
-<installprefix>/etc/jhc-<version>/targets-local.ini 
+$PREFIX/etc/jhc-\$VERSION/targets-local.ini
hunk ./Options.hs 109
-cc
-: what c compiler to use. generally this will be gcc for local builds and <arch>-<os>-gcc for cross compiles
-
-byteorder
-: one of le or be for little or big endian
-
-gc
-: what garbage collector to use. It should be one of 'static' or 'boehm'.
-
-cflags
-: options to pass to the c compiler
-
-cflags_debug
-: options to pass to the c compiler only when debugging is enabled
-
-cflags_nodebug
-: options to pass to the c compiler only when debugging is disabled
-
-profile
-: whether to include profiling code in the generated executable
-
-autoload
-: what haskell libraries to autoload, seperated by commas.
-
-executable_extension
-: specifies an extension that should be appended to executable files, (i.e. .EXE on windows)
-
-merge
-: a special option that merges the contents of another configuration target into the currrent one.
-
-bits:
-: the number of bits a pointer contains on this architecture
-
-bits_max
-: the number of bits in the largest integral type. should be the number of bits in the 'intmax_t' C type.
-
-arch
-: what to pass to gcc as the architecture
+Option                    Meaning
+------                    ---------------------------------------------------------------------------
+_cc_                      what c compiler to use. generally this will be gcc for local builds and something like $ARCH-$HOST-gcc for cross compiles
+_byteorder_               one of *le* or *be* for little or big endian
+_gc_                      what garbage collector to use. It should be one of *static* or *boehm*.
+_cflags_                  options to pass to the c compiler
+_cflags\_debug_            options to pass to the c compiler only when debugging is enabled
+_cflags\_nodebug_          options to pass to the c compiler only when debugging is disabled
+_profile_                 whether to include profiling code in the generated executable
+_autoload_                what haskell libraries to autoload, seperated by commas.
+_executable\_extension_    specifies an extension that should be appended to executable files, (i.e. .EXE on windows)
+_merge_                   a special option that merges the contents of another configuration target into the currrent one.
+_bits_                    the number of bits a pointer contains on this architecture
+_bits\_max_                the number of bits in the largest integral type. should be the number of bits in the 'intmax_t' C type.
+_arch_                    what to pass to gcc as the architecture
hunk ./Options.hs 324
-    Just home <- fmap (`mplus` Just "/") $ lookupEnv "HOME" 
+    Just home <- fmap (`mplus` Just "/") $ lookupEnv "HOME"
hunk ./utils/stitch.prl 14
+    CrossCompilation