[add a 'wii' entry for cross compilation to the nintendo wii.
John Meacham <john@repetae.net>**20100726053939
 Ignore-this: aeed379e1cc8c6e8816318a4cad66e4
] hunk ./lib/jhc/Jhc/Options.hs 36
-target = boxTarget    (options_target      ())
-isWindows = boxBool   (options_isWindows   ())
-isPosix = boxBool     (options_isPosix     ())
-isBigEndian = boxBool (options_isBigEndian ())
+target      = boxTarget (options_target      ())
+isWindows   = boxBool   (options_isWindows   ())
+isPosix     = boxBool   (options_isPosix     ())
+isBigEndian = boxBool   (options_isBigEndian ())
+
hunk ./lib/jhc/Jhc/Options.hs 46
+foreign import primitive options_isConsole   :: () -> Bool__
hunk ./src/FlagOpts.flags 31
+standalone compile to a standalone executable
hunk ./src/data/targets.ini.in 11
-
+; the cross compilation entries in this file should be treated as examples.
+; although they work out of the box for many systems, cross compilation
+; environments differ, so you may need to override them for your
+; specific setup.
hunk ./src/data/targets.ini.in 26
+; cross compilation entries
+
hunk ./src/data/targets.ini.in 34
-; macintosh
+[wii]
+cc=powerpc-eabi-gcc
+byteorder=be
+gc=static
+cflags+=-g -DGEKKO -D__WORDSIZE=32 -mrvl -mcpu=750 -meabi -mhard-float
+executable_extension=.elf
+bits=32
+bits_max=64
+merge=be32
+
+; macintosh, this is for cross compiling, not for native compilation on osx
hunk ./src/data/targets.ini.in 57
-
+; a couple specific cpus
hunk ./src/data/targets.ini.in 85
-