summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2012-07-18 15:03:31 +0200
committerGabor Greif <ggreif@gmail.com>2012-07-18 15:03:31 +0200
commit6ae696a1d1f25bf52923a3dd1c3b4a08e2033bfd (patch)
tree6b9d8f155f9c35b09ea91afe5a3c3f11c03d8633 /ghc
parent9417612ec9d4b27cacd8100cf4831e3e703c976b (diff)
downloadhaskell-6ae696a1d1f25bf52923a3dd1c3b4a08e2033bfd.tar.gz
First batch of file additions for cross-compiler:
new file: ghc/ghc-cross.wrapper new file: includes/mkDerivedConstants.cross.awk new file: includes/mkSizeMacros.cross.awk new file: rules/cross-compiling.mk These are expected to sit quietly in the tree until the rest of the machinery matures on an (upcoming) branch. Reviews will begin to make sense as soon as that has happened. Anyway, comments are welcome. See <http://www.haskell.org/pipermail/cvs-ghc/2012-July/074456.html> for background. Disclaimer: these source files are not (yet) up to the quality standards set by the rest of the tree. Cleanups, move-arounds and rewrites (i.e. .awk -> .hs), as well as additional comments and documentation will happen as soon as the basic functionality of a cross-compiler is working reliably.
Diffstat (limited to 'ghc')
-rw-r--r--ghc/ghc-cross.wrapper1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/ghc-cross.wrapper b/ghc/ghc-cross.wrapper
new file mode 100644
index 0000000000..56564e589d
--- /dev/null
+++ b/ghc/ghc-cross.wrapper
@@ -0,0 +1 @@
+exec "$executablename" -B"$topdir" ${1+"$@"} -pgma "$pgmgcc" -pgmc "$pgmgcc" -pgml "$pgmgcc"